Skip to content

Commit f7d0935

Browse files
committed
chore: make api-client
risk: low
1 parent 7f1d8b7 commit f7d0935

File tree

285 files changed

+12122
-13276
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

285 files changed

+12122
-13276
lines changed

gooddata-api-client/.openapi-generator/FILES

Lines changed: 46 additions & 32 deletions
Large diffs are not rendered by default.

gooddata-api-client/README.md

Lines changed: 39 additions & 41 deletions
Large diffs are not rendered by default.

gooddata-api-client/docs/ActionsApi.md

Lines changed: 442 additions & 1404 deletions
Large diffs are not rendered by default.

gooddata-api-client/docs/AutomationRawExport.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
## Properties
55
Name | Type | Description | Notes
66
------------ | ------------- | ------------- | -------------
7-
**request_payload** | [**RawExportRequest**](RawExportRequest.md) | |
7+
**request_payload** | [**RawExportAutomationRequest**](RawExportAutomationRequest.md) | |
88
**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional]
99

1010
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)

gooddata-api-client/docs/AutomationsApi.md

Lines changed: 203 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,9 @@ Method | HTTP request | Description
1313
[**set_automations**](AutomationsApi.md#set_automations) | **PUT** /api/v1/layout/workspaces/{workspaceId}/automations | Set automations
1414
[**trigger_automation**](AutomationsApi.md#trigger_automation) | **POST** /api/v1/actions/workspaces/{workspaceId}/automations/trigger | Trigger automation.
1515
[**trigger_existing_automation**](AutomationsApi.md#trigger_existing_automation) | **POST** /api/v1/actions/workspaces/{workspaceId}/automations/{automationId}/trigger | Trigger existing automation.
16+
[**unsubscribe_all_automations**](AutomationsApi.md#unsubscribe_all_automations) | **DELETE** /api/v1/actions/organization/automations/unsubscribe | Unsubscribe from all automations in all workspaces
17+
[**unsubscribe_automation**](AutomationsApi.md#unsubscribe_automation) | **DELETE** /api/v1/actions/workspaces/{workspaceId}/automations/{automationId}/unsubscribe | Unsubscribe from an automation
18+
[**unsubscribe_workspace_automations**](AutomationsApi.md#unsubscribe_workspace_automations) | **DELETE** /api/v1/actions/workspaces/{workspaceId}/automations/unsubscribe | Unsubscribe from all automations in the workspace
1619
[**update_entity_automations**](AutomationsApi.md#update_entity_automations) | **PUT** /api/v1/entities/workspaces/{workspaceId}/automations/{objectId} | Put an Automation
1720

1821

@@ -100,7 +103,7 @@ with gooddata_api_client.ApiClient() as api_client:
100103
),
101104
],
102105
description="description_example",
103-
details=None,
106+
details={},
104107
external_recipients=[
105108
JsonApiAutomationInAttributesExternalRecipientsInner(
106109
email="email_example",
@@ -131,7 +134,7 @@ with gooddata_api_client.ApiClient() as api_client:
131134
),
132135
raw_exports=[
133136
JsonApiAutomationInAttributesRawExportsInner(
134-
request_payload=RawExportRequest(
137+
request_payload=RawExportAutomationRequest(
135138
custom_override=RawCustomOverride(
136139
labels={
137140
"key": RawCustomLabel(
@@ -179,6 +182,7 @@ with gooddata_api_client.ApiClient() as api_client:
179182
),
180183
file_name="result",
181184
format="CSV",
185+
metadata=JsonNode(),
182186
),
183187
),
184188
],
@@ -775,7 +779,7 @@ with gooddata_api_client.ApiClient() as api_client:
775779
),
776780
],
777781
description="description_example",
778-
details=None,
782+
details={},
779783
external_recipients=[
780784
JsonApiAutomationInAttributesExternalRecipientsInner(
781785
email="email_example",
@@ -806,7 +810,7 @@ with gooddata_api_client.ApiClient() as api_client:
806810
),
807811
raw_exports=[
808812
JsonApiAutomationInAttributesRawExportsInner(
809-
request_payload=RawExportRequest(
813+
request_payload=RawExportAutomationRequest(
810814
custom_override=RawCustomOverride(
811815
labels={
812816
"key": RawCustomLabel(
@@ -854,6 +858,7 @@ with gooddata_api_client.ApiClient() as api_client:
854858
),
855859
file_name="result",
856860
format="CSV",
861+
metadata=JsonNode(),
857862
),
858863
),
859864
],
@@ -1166,7 +1171,7 @@ with gooddata_api_client.ApiClient() as api_client:
11661171
),
11671172
raw_exports=[
11681173
AutomationRawExport(
1169-
request_payload=RawExportRequest(
1174+
request_payload=RawExportAutomationRequest(
11701175
custom_override=RawCustomOverride(
11711176
labels={
11721177
"key": RawCustomLabel(
@@ -1214,6 +1219,7 @@ with gooddata_api_client.ApiClient() as api_client:
12141219
),
12151220
file_name="result",
12161221
format="CSV",
1222+
metadata=JsonNode(),
12171223
),
12181224
),
12191225
],
@@ -1471,7 +1477,7 @@ with gooddata_api_client.ApiClient() as api_client:
14711477
),
14721478
raw_exports=[
14731479
AutomationRawExport(
1474-
request_payload=RawExportRequest(
1480+
request_payload=RawExportAutomationRequest(
14751481
custom_override=RawCustomOverride(
14761482
labels={
14771483
"key": RawCustomLabel(
@@ -1519,6 +1525,7 @@ with gooddata_api_client.ApiClient() as api_client:
15191525
),
15201526
file_name="result",
15211527
format="CSV",
1528+
metadata=JsonNode(),
15221529
),
15231530
),
15241531
],
@@ -1711,6 +1718,193 @@ No authorization required
17111718

17121719
[[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)
17131720

1721+
# **unsubscribe_all_automations**
1722+
> unsubscribe_all_automations()
1723+
1724+
Unsubscribe from all automations in all workspaces
1725+
1726+
### Example
1727+
1728+
1729+
```python
1730+
import time
1731+
import gooddata_api_client
1732+
from gooddata_api_client.api import automations_api
1733+
from pprint import pprint
1734+
# Defining the host is optional and defaults to http://localhost
1735+
# See configuration.py for a list of all supported configuration parameters.
1736+
configuration = gooddata_api_client.Configuration(
1737+
host = "http://localhost"
1738+
)
1739+
1740+
1741+
# Enter a context with an instance of the API client
1742+
with gooddata_api_client.ApiClient() as api_client:
1743+
# Create an instance of the API class
1744+
api_instance = automations_api.AutomationsApi(api_client)
1745+
1746+
# example, this endpoint has no required or optional parameters
1747+
try:
1748+
# Unsubscribe from all automations in all workspaces
1749+
api_instance.unsubscribe_all_automations()
1750+
except gooddata_api_client.ApiException as e:
1751+
print("Exception when calling AutomationsApi->unsubscribe_all_automations: %s\n" % e)
1752+
```
1753+
1754+
1755+
### Parameters
1756+
This endpoint does not need any parameter.
1757+
1758+
### Return type
1759+
1760+
void (empty response body)
1761+
1762+
### Authorization
1763+
1764+
No authorization required
1765+
1766+
### HTTP request headers
1767+
1768+
- **Content-Type**: Not defined
1769+
- **Accept**: Not defined
1770+
1771+
1772+
### HTTP response details
1773+
1774+
| Status code | Description | Response headers |
1775+
|-------------|-------------|------------------|
1776+
**204** | No Content | - |
1777+
1778+
[[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)
1779+
1780+
# **unsubscribe_automation**
1781+
> unsubscribe_automation(workspace_id, automation_id)
1782+
1783+
Unsubscribe from an automation
1784+
1785+
### Example
1786+
1787+
1788+
```python
1789+
import time
1790+
import gooddata_api_client
1791+
from gooddata_api_client.api import automations_api
1792+
from pprint import pprint
1793+
# Defining the host is optional and defaults to http://localhost
1794+
# See configuration.py for a list of all supported configuration parameters.
1795+
configuration = gooddata_api_client.Configuration(
1796+
host = "http://localhost"
1797+
)
1798+
1799+
1800+
# Enter a context with an instance of the API client
1801+
with gooddata_api_client.ApiClient() as api_client:
1802+
# Create an instance of the API class
1803+
api_instance = automations_api.AutomationsApi(api_client)
1804+
workspace_id = "workspaceId_example" # str |
1805+
automation_id = "automationId_example" # str |
1806+
1807+
# example passing only required values which don't have defaults set
1808+
try:
1809+
# Unsubscribe from an automation
1810+
api_instance.unsubscribe_automation(workspace_id, automation_id)
1811+
except gooddata_api_client.ApiException as e:
1812+
print("Exception when calling AutomationsApi->unsubscribe_automation: %s\n" % e)
1813+
```
1814+
1815+
1816+
### Parameters
1817+
1818+
Name | Type | Description | Notes
1819+
------------- | ------------- | ------------- | -------------
1820+
**workspace_id** | **str**| |
1821+
**automation_id** | **str**| |
1822+
1823+
### Return type
1824+
1825+
void (empty response body)
1826+
1827+
### Authorization
1828+
1829+
No authorization required
1830+
1831+
### HTTP request headers
1832+
1833+
- **Content-Type**: Not defined
1834+
- **Accept**: Not defined
1835+
1836+
1837+
### HTTP response details
1838+
1839+
| Status code | Description | Response headers |
1840+
|-------------|-------------|------------------|
1841+
**204** | No Content | - |
1842+
1843+
[[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)
1844+
1845+
# **unsubscribe_workspace_automations**
1846+
> unsubscribe_workspace_automations(workspace_id)
1847+
1848+
Unsubscribe from all automations in the workspace
1849+
1850+
### Example
1851+
1852+
1853+
```python
1854+
import time
1855+
import gooddata_api_client
1856+
from gooddata_api_client.api import automations_api
1857+
from pprint import pprint
1858+
# Defining the host is optional and defaults to http://localhost
1859+
# See configuration.py for a list of all supported configuration parameters.
1860+
configuration = gooddata_api_client.Configuration(
1861+
host = "http://localhost"
1862+
)
1863+
1864+
1865+
# Enter a context with an instance of the API client
1866+
with gooddata_api_client.ApiClient() as api_client:
1867+
# Create an instance of the API class
1868+
api_instance = automations_api.AutomationsApi(api_client)
1869+
workspace_id = "workspaceId_example" # str |
1870+
1871+
# example passing only required values which don't have defaults set
1872+
try:
1873+
# Unsubscribe from all automations in the workspace
1874+
api_instance.unsubscribe_workspace_automations(workspace_id)
1875+
except gooddata_api_client.ApiException as e:
1876+
print("Exception when calling AutomationsApi->unsubscribe_workspace_automations: %s\n" % e)
1877+
```
1878+
1879+
1880+
### Parameters
1881+
1882+
Name | Type | Description | Notes
1883+
------------- | ------------- | ------------- | -------------
1884+
**workspace_id** | **str**| |
1885+
1886+
### Return type
1887+
1888+
void (empty response body)
1889+
1890+
### Authorization
1891+
1892+
No authorization required
1893+
1894+
### HTTP request headers
1895+
1896+
- **Content-Type**: Not defined
1897+
- **Accept**: Not defined
1898+
1899+
1900+
### HTTP response details
1901+
1902+
| Status code | Description | Response headers |
1903+
|-------------|-------------|------------------|
1904+
**204** | No Content | - |
1905+
1906+
[[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)
1907+
17141908
# **update_entity_automations**
17151909
> JsonApiAutomationOutDocument update_entity_automations(workspace_id, object_id, json_api_automation_in_document)
17161910
@@ -1796,7 +1990,7 @@ with gooddata_api_client.ApiClient() as api_client:
17961990
),
17971991
],
17981992
description="description_example",
1799-
details=None,
1993+
details={},
18001994
external_recipients=[
18011995
JsonApiAutomationInAttributesExternalRecipientsInner(
18021996
email="email_example",
@@ -1827,7 +2021,7 @@ with gooddata_api_client.ApiClient() as api_client:
18272021
),
18282022
raw_exports=[
18292023
JsonApiAutomationInAttributesRawExportsInner(
1830-
request_payload=RawExportRequest(
2024+
request_payload=RawExportAutomationRequest(
18312025
custom_override=RawCustomOverride(
18322026
labels={
18332027
"key": RawCustomLabel(
@@ -1875,6 +2069,7 @@ with gooddata_api_client.ApiClient() as api_client:
18752069
),
18762070
file_name="result",
18772071
format="CSV",
2072+
metadata=JsonNode(),
18782073
),
18792074
),
18802075
],
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
# BoundedFilter
2+
3+
Bounding filter for this relative date filter. This can be used to limit the range of the relative date filter to a specific date range.
4+
5+
## Properties
6+
Name | Type | Description | Notes
7+
------------ | ------------- | ------------- | -------------
8+
**granularity** | **str** | Date granularity specifying particular date attribute in given dimension. |
9+
**dataset** | [**AfmObjectIdentifierDataset**](AfmObjectIdentifierDataset.md) | | [optional]
10+
**_from** | **int, none_type** | 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'). If null, then start of the range is unbounded. | [optional]
11+
**to** | **int, none_type** | 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, ...). If null, then end of the range is unbounded. | [optional]
12+
**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional]
13+
14+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
15+
16+

gooddata-api-client/docs/ComputationApi.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -533,7 +533,7 @@ with gooddata_api_client.ApiClient() as api_client:
533533
timestamp=dateutil_parser('1970-01-01T00:00:00.00Z'),
534534
),
535535
) # AfmExecution |
536-
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 `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 `SETTINGS` - Settings used to execute explain request (optional)
536+
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)
537537

538538
# example passing only required values which don't have defaults set
539539
try:
@@ -558,7 +558,7 @@ Name | Type | Description | Notes
558558
------------- | ------------- | ------------- | -------------
559559
**workspace_id** | **str**| Workspace identifier |
560560
**afm_execution** | [**AfmExecution**](AfmExecution.md)| |
561-
**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 `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 `SETTINGS` - Settings used to execute explain request | [optional]
561+
**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]
562562

563563
### Return type
564564

gooddata-api-client/docs/DashboardTabularExportRequest.md

Lines changed: 0 additions & 17 deletions
This file was deleted.

0 commit comments

Comments
 (0)