Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions gooddata-api-client/.openapi-generator/FILES
Original file line number Diff line number Diff line change
Expand Up @@ -791,6 +791,7 @@ docs/NotificationChannelDestination.md
docs/NotificationChannelsApi.md
docs/NotificationContent.md
docs/NotificationData.md
docs/NotificationFilter.md
docs/Notifications.md
docs/NotificationsMeta.md
docs/NotificationsMetaTotal.md
Expand Down Expand Up @@ -1787,6 +1788,7 @@ gooddata_api_client/model/notification.py
gooddata_api_client/model/notification_channel_destination.py
gooddata_api_client/model/notification_content.py
gooddata_api_client/model/notification_data.py
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
Expand Down
1 change: 1 addition & 0 deletions gooddata-api-client/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -1657,6 +1657,7 @@ Class | Method | HTTP request | Description
- [NotificationChannelDestination](docs/NotificationChannelDestination.md)
- [NotificationContent](docs/NotificationContent.md)
- [NotificationData](docs/NotificationData.md)
- [NotificationFilter](docs/NotificationFilter.md)
- [Notifications](docs/Notifications.md)
- [NotificationsMeta](docs/NotificationsMeta.md)
- [NotificationsMetaTotal](docs/NotificationsMetaTotal.md)
Expand Down
6 changes: 3 additions & 3 deletions gooddata-api-client/docs/ActionsApi.md
Original file line number Diff line number Diff line change
Expand Up @@ -734,9 +734,9 @@ with gooddata_api_client.ApiClient() as api_client:
api_instance = actions_api.ActionsApi(api_client)
workspace_id = "/6bUUGjjNSwg0_bs" # str | Workspace identifier
afm_cancel_tokens = AfmCancelTokens(
token_ids=[
"token_ids_example",
],
result_id_to_cancel_token_pairs={
"key": "key_example",
},
) # AfmCancelTokens |

# example passing only required values which don't have defaults set
Expand Down
2 changes: 1 addition & 1 deletion gooddata-api-client/docs/AfmCancelTokens.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ Any information related to cancellation.
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**token_ids** | **[str]** | Token ids to be used in the cancellation. |
**result_id_to_cancel_token_pairs** | **{str: (str,)}** | resultId to cancel token pairs |
**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional]

[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
Expand Down
2 changes: 1 addition & 1 deletion gooddata-api-client/docs/AlertDescription.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,14 @@ Name | Type | Description | Notes
**attribute** | **str** | | [optional]
**current_values** | [**[AlertEvaluationRow]**](AlertEvaluationRow.md) | | [optional]
**error_message** | **str** | | [optional]
**filter_count** | **int** | | [optional]
**formatted_threshold** | **str** | | [optional]
**lower_threshold** | **float** | | [optional]
**remaining_alert_evaluation_count** | **int** | | [optional]
**status** | **str** | | [optional]
**threshold** | **float** | | [optional]
**total_value_count** | **int** | | [optional]
**trace_id** | **str** | | [optional]
**triggered_at** | **datetime** | | [optional]
**triggered_count** | **int** | | [optional]
**upper_threshold** | **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]
Expand Down
2 changes: 1 addition & 1 deletion gooddata-api-client/docs/AutomationSchedule.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**cron** | **str** | Cron expression defining the schedule of the automation. The format is SECOND MINUTE HOUR DAY-OF-MONTH MONTH DAY-OF-WEEK (YEAR). The example expression signifies an action every 30 minutes from 9:00 to 17:00 on workdays. |
**timezone** | **str** | Timezone in which the schedule is defined. |
**cron_description** | **str** | Human-readable description of the cron expression. | [optional] [readonly]
**first_run** | **datetime** | Timestamp of the first scheduled action. If not provided default to the next scheduled time. | [optional]
**timezone** | **str** | Timezone in which the schedule is defined. | [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)
Expand Down
1 change: 1 addition & 0 deletions gooddata-api-client/docs/ExportResult.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ Name | Type | Description | Notes
**error_message** | **str** | | [optional]
**file_uri** | **str** | | [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]

[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**cron** | **str** | Cron expression defining the schedule of the automation. The format is SECOND MINUTE HOUR DAY-OF-MONTH MONTH DAY-OF-WEEK (YEAR). The example expression signifies an action every 30 minutes from 9:00 to 17:00 on workdays. |
**timezone** | **str** | Timezone in which the schedule is defined. |
**cron_description** | **str** | Human-readable description of the cron expression. | [optional] [readonly]
**first_run** | **datetime** | Timestamp of the first scheduled action. If not provided default to the next scheduled time. | [optional]
**timezone** | **str** | Timezone in which the schedule is defined. | [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)
Expand Down
13 changes: 13 additions & 0 deletions gooddata-api-client/docs/NotificationFilter.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
# NotificationFilter


## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**filter** | **str** | |
**title** | **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)


1 change: 1 addition & 0 deletions gooddata-api-client/docs/WebhookMessageData.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ Name | Type | Description | Notes
**automation** | [**WebhookAutomationInfo**](WebhookAutomationInfo.md) | |
**alert** | [**AlertDescription**](AlertDescription.md) | | [optional]
**details** | **{str: (str,)}** | | [optional]
**filters** | [**[NotificationFilter]**](NotificationFilter.md) | | [optional]
**recipients** | [**[WebhookRecipient]**](WebhookRecipient.md) | | [optional]
**remaining_action_count** | **int** | | [optional]
**tabular_exports** | [**[ExportResult]**](ExportResult.md) | | [optional]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ def openapi_types():
and the value is attribute type.
"""
return {
'token_ids': ([str],), # noqa: E501
'result_id_to_cancel_token_pairs': ({str: (str,)},), # noqa: E501
}

@cached_property
Expand All @@ -91,7 +91,7 @@ def discriminator():


attribute_map = {
'token_ids': 'tokenIds', # noqa: E501
'result_id_to_cancel_token_pairs': 'resultIdToCancelTokenPairs', # noqa: E501
}

read_only_vars = {
Expand All @@ -101,11 +101,11 @@ def discriminator():

@classmethod
@convert_js_args_to_python_args
def _from_openapi_data(cls, token_ids, *args, **kwargs): # noqa: E501
def _from_openapi_data(cls, result_id_to_cancel_token_pairs, *args, **kwargs): # noqa: E501
"""AfmCancelTokens - a model defined in OpenAPI

Args:
token_ids ([str]): Token ids to be used in the cancellation.
result_id_to_cancel_token_pairs ({str: (str,)}): resultId to cancel token pairs

Keyword Args:
_check_type (bool): if True, values for parameters in openapi_types
Expand Down Expand Up @@ -169,7 +169,7 @@ def _from_openapi_data(cls, token_ids, *args, **kwargs): # noqa: E501
self._configuration = _configuration
self._visited_composed_classes = _visited_composed_classes + (self.__class__,)

self.token_ids = token_ids
self.result_id_to_cancel_token_pairs = result_id_to_cancel_token_pairs
for var_name, var_value in kwargs.items():
if var_name not in self.attribute_map and \
self._configuration is not None and \
Expand All @@ -190,11 +190,11 @@ def _from_openapi_data(cls, token_ids, *args, **kwargs): # noqa: E501
])

@convert_js_args_to_python_args
def __init__(self, token_ids, *args, **kwargs): # noqa: E501
def __init__(self, result_id_to_cancel_token_pairs, *args, **kwargs): # noqa: E501
"""AfmCancelTokens - a model defined in OpenAPI

Args:
token_ids ([str]): Token ids to be used in the cancellation.
result_id_to_cancel_token_pairs ({str: (str,)}): resultId to cancel token pairs

Keyword Args:
_check_type (bool): if True, values for parameters in openapi_types
Expand Down Expand Up @@ -256,7 +256,7 @@ def __init__(self, token_ids, *args, **kwargs): # noqa: E501
self._configuration = _configuration
self._visited_composed_classes = _visited_composed_classes + (self.__class__,)

self.token_ids = token_ids
self.result_id_to_cancel_token_pairs = result_id_to_cancel_token_pairs
for var_name, var_value in kwargs.items():
if var_name not in self.attribute_map and \
self._configuration is not None and \
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -99,14 +99,14 @@ def openapi_types():
'attribute': (str,), # noqa: E501
'current_values': ([AlertEvaluationRow],), # noqa: E501
'error_message': (str,), # noqa: E501
'filter_count': (int,), # noqa: E501
'formatted_threshold': (str,), # noqa: E501
'lower_threshold': (float,), # noqa: E501
'remaining_alert_evaluation_count': (int,), # noqa: E501
'status': (str,), # noqa: E501
'threshold': (float,), # noqa: E501
'total_value_count': (int,), # noqa: E501
'trace_id': (str,), # noqa: E501
'triggered_at': (datetime,), # noqa: E501
'triggered_count': (int,), # noqa: E501
'upper_threshold': (float,), # noqa: E501
}
Expand All @@ -122,14 +122,14 @@ def discriminator():
'attribute': 'attribute', # noqa: E501
'current_values': 'currentValues', # noqa: E501
'error_message': 'errorMessage', # noqa: E501
'filter_count': 'filterCount', # noqa: E501
'formatted_threshold': 'formattedThreshold', # noqa: E501
'lower_threshold': 'lowerThreshold', # noqa: E501
'remaining_alert_evaluation_count': 'remainingAlertEvaluationCount', # noqa: E501
'status': 'status', # noqa: E501
'threshold': 'threshold', # noqa: E501
'total_value_count': 'totalValueCount', # noqa: E501
'trace_id': 'traceId', # noqa: E501
'triggered_at': 'triggeredAt', # noqa: E501
'triggered_count': 'triggeredCount', # noqa: E501
'upper_threshold': 'upperThreshold', # noqa: E501
}
Expand Down Expand Up @@ -182,14 +182,14 @@ def _from_openapi_data(cls, condition, metric, *args, **kwargs): # noqa: E501
attribute (str): [optional] # noqa: E501
current_values ([AlertEvaluationRow]): [optional] # noqa: E501
error_message (str): [optional] # noqa: E501
filter_count (int): [optional] # noqa: E501
formatted_threshold (str): [optional] # noqa: E501
lower_threshold (float): [optional] # noqa: E501
remaining_alert_evaluation_count (int): [optional] # noqa: E501
status (str): [optional] # noqa: E501
threshold (float): [optional] # noqa: E501
total_value_count (int): [optional] # noqa: E501
trace_id (str): [optional] # noqa: E501
triggered_at (datetime): [optional] # noqa: E501
triggered_count (int): [optional] # noqa: E501
upper_threshold (float): [optional] # noqa: E501
"""
Expand Down Expand Up @@ -286,14 +286,14 @@ def __init__(self, condition, metric, *args, **kwargs): # noqa: E501
attribute (str): [optional] # noqa: E501
current_values ([AlertEvaluationRow]): [optional] # noqa: E501
error_message (str): [optional] # noqa: E501
filter_count (int): [optional] # noqa: E501
formatted_threshold (str): [optional] # noqa: E501
lower_threshold (float): [optional] # noqa: E501
remaining_alert_evaluation_count (int): [optional] # noqa: E501
status (str): [optional] # noqa: E501
threshold (float): [optional] # noqa: E501
total_value_count (int): [optional] # noqa: E501
trace_id (str): [optional] # noqa: E501
triggered_at (datetime): [optional] # noqa: E501
triggered_count (int): [optional] # noqa: E501
upper_threshold (float): [optional] # noqa: E501
"""
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -89,9 +89,9 @@ def openapi_types():
"""
return {
'cron': (str,), # noqa: E501
'timezone': (str,), # noqa: E501
'cron_description': (str,), # noqa: E501
'first_run': (datetime,), # noqa: E501
'timezone': (str,), # noqa: E501
}

@cached_property
Expand All @@ -101,9 +101,9 @@ def discriminator():

attribute_map = {
'cron': 'cron', # noqa: E501
'timezone': 'timezone', # noqa: E501
'cron_description': 'cronDescription', # noqa: E501
'first_run': 'firstRun', # noqa: E501
'timezone': 'timezone', # noqa: E501
}

read_only_vars = {
Expand All @@ -114,11 +114,12 @@ def discriminator():

@classmethod
@convert_js_args_to_python_args
def _from_openapi_data(cls, cron, *args, **kwargs): # noqa: E501
def _from_openapi_data(cls, cron, timezone, *args, **kwargs): # noqa: E501
"""AutomationSchedule - a model defined in OpenAPI

Args:
cron (str): Cron expression defining the schedule of the automation. The format is SECOND MINUTE HOUR DAY-OF-MONTH MONTH DAY-OF-WEEK (YEAR). The example expression signifies an action every 30 minutes from 9:00 to 17:00 on workdays.
timezone (str): Timezone in which the schedule is defined.

Keyword Args:
_check_type (bool): if True, values for parameters in openapi_types
Expand Down Expand Up @@ -153,7 +154,6 @@ def _from_openapi_data(cls, cron, *args, **kwargs): # noqa: E501
_visited_composed_classes = (Animal,)
cron_description (str): Human-readable description of the cron expression.. [optional] # noqa: E501
first_run (datetime): Timestamp of the first scheduled action. If not provided default to the next scheduled time.. [optional] # noqa: E501
timezone (str): Timezone in which the schedule is defined.. [optional] # noqa: E501
"""

_check_type = kwargs.pop('_check_type', True)
Expand Down Expand Up @@ -186,6 +186,7 @@ def _from_openapi_data(cls, cron, *args, **kwargs): # noqa: E501
self._visited_composed_classes = _visited_composed_classes + (self.__class__,)

self.cron = cron
self.timezone = timezone
for var_name, var_value in kwargs.items():
if var_name not in self.attribute_map and \
self._configuration is not None and \
Expand All @@ -206,11 +207,12 @@ def _from_openapi_data(cls, cron, *args, **kwargs): # noqa: E501
])

@convert_js_args_to_python_args
def __init__(self, cron, *args, **kwargs): # noqa: E501
def __init__(self, cron, timezone, *args, **kwargs): # noqa: E501
"""AutomationSchedule - a model defined in OpenAPI

Args:
cron (str): Cron expression defining the schedule of the automation. The format is SECOND MINUTE HOUR DAY-OF-MONTH MONTH DAY-OF-WEEK (YEAR). The example expression signifies an action every 30 minutes from 9:00 to 17:00 on workdays.
timezone (str): Timezone in which the schedule is defined.

Keyword Args:
_check_type (bool): if True, values for parameters in openapi_types
Expand Down Expand Up @@ -245,7 +247,6 @@ def __init__(self, cron, *args, **kwargs): # noqa: E501
_visited_composed_classes = (Animal,)
cron_description (str): Human-readable description of the cron expression.. [optional] # noqa: E501
first_run (datetime): Timestamp of the first scheduled action. If not provided default to the next scheduled time.. [optional] # noqa: E501
timezone (str): Timezone in which the schedule is defined.. [optional] # noqa: E501
"""

_check_type = kwargs.pop('_check_type', True)
Expand Down Expand Up @@ -276,6 +277,7 @@ def __init__(self, cron, *args, **kwargs): # noqa: E501
self._visited_composed_classes = _visited_composed_classes + (self.__class__,)

self.cron = cron
self.timezone = timezone
for var_name, var_value in kwargs.items():
if var_name not in self.attribute_map and \
self._configuration is not None and \
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -82,10 +82,10 @@ class DeclarativeDataSource(ModelNormal):
'MYSQL': "MYSQL",
'MARIADB': "MARIADB",
'ORACLE': "ORACLE",
'PINOT': "PINOT",
'SINGLESTORE': "SINGLESTORE",
'MOTHERDUCK': "MOTHERDUCK",
'FLEXCONNECT': "FLEXCONNECT",
'STARROCKS': "STARROCKS",
},
('cache_strategy',): {
'ALWAYS': "ALWAYS",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,7 @@ def openapi_types():
'error_message': (str,), # noqa: E501
'file_uri': (str,), # noqa: E501
'trace_id': (str,), # noqa: E501
'triggered_at': (datetime,), # noqa: E501
}

@cached_property
Expand All @@ -108,6 +109,7 @@ def discriminator():
'error_message': 'errorMessage', # noqa: E501
'file_uri': 'fileUri', # noqa: E501
'trace_id': 'traceId', # noqa: E501
'triggered_at': 'triggeredAt', # noqa: E501
}

read_only_vars = {
Expand Down Expand Up @@ -159,6 +161,7 @@ def _from_openapi_data(cls, export_id, file_name, status, *args, **kwargs): # n
error_message (str): [optional] # noqa: E501
file_uri (str): [optional] # noqa: E501
trace_id (str): [optional] # noqa: E501
triggered_at (datetime): [optional] # noqa: E501
"""

_check_type = kwargs.pop('_check_type', True)
Expand Down Expand Up @@ -255,6 +258,7 @@ def __init__(self, export_id, file_name, status, *args, **kwargs): # noqa: E501
error_message (str): [optional] # noqa: E501
file_uri (str): [optional] # noqa: E501
trace_id (str): [optional] # noqa: E501
triggered_at (datetime): [optional] # noqa: E501
"""

_check_type = kwargs.pop('_check_type', True)
Expand Down
Loading
Loading