Skip to content
Closed
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: 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
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
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 @@ -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
"""JsonApiAutomationInAttributesSchedule - 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
"""JsonApiAutomationInAttributesSchedule - 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
12 changes: 8 additions & 4 deletions schemas/gooddata-api-client.json
Original file line number Diff line number Diff line change
Expand Up @@ -1225,7 +1225,8 @@
}
},
"required": [
"cron"
"cron",
"timezone"
],
"type": "object"
},
Expand Down Expand Up @@ -8353,7 +8354,8 @@
}
},
"required": [
"cron"
"cron",
"timezone"
],
"type": "object"
},
Expand Down Expand Up @@ -8615,7 +8617,8 @@
}
},
"required": [
"cron"
"cron",
"timezone"
],
"type": "object"
},
Expand Down Expand Up @@ -8973,7 +8976,8 @@
}
},
"required": [
"cron"
"cron",
"timezone"
],
"type": "object"
},
Expand Down
12 changes: 8 additions & 4 deletions schemas/gooddata-metadata-client.json
Original file line number Diff line number Diff line change
Expand Up @@ -637,7 +637,8 @@
}
},
"required": [
"cron"
"cron",
"timezone"
],
"type": "object"
},
Expand Down Expand Up @@ -6310,7 +6311,8 @@
}
},
"required": [
"cron"
"cron",
"timezone"
],
"type": "object"
},
Expand Down Expand Up @@ -6572,7 +6574,8 @@
}
},
"required": [
"cron"
"cron",
"timezone"
],
"type": "object"
},
Expand Down Expand Up @@ -6930,7 +6933,8 @@
}
},
"required": [
"cron"
"cron",
"timezone"
],
"type": "object"
},
Expand Down
Loading