Skip to content

Commit ae50a4d

Browse files
committed
feat: api
risk: low
1 parent 5f39ae0 commit ae50a4d

File tree

6 files changed

+34
-22
lines changed

6 files changed

+34
-22
lines changed

gooddata-api-client/docs/AutomationSchedule.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@
55
Name | Type | Description | Notes
66
------------ | ------------- | ------------- | -------------
77
**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. |
8+
**timezone** | **str** | Timezone in which the schedule is defined. |
89
**cron_description** | **str** | Human-readable description of the cron expression. | [optional] [readonly]
910
**first_run** | **datetime** | Timestamp of the first scheduled action. If not provided default to the next scheduled time. | [optional]
10-
**timezone** | **str** | Timezone in which the schedule is defined. | [optional]
1111
**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional]
1212

1313
[[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/JsonApiAutomationInAttributesSchedule.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@
55
Name | Type | Description | Notes
66
------------ | ------------- | ------------- | -------------
77
**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. |
8+
**timezone** | **str** | Timezone in which the schedule is defined. |
89
**cron_description** | **str** | Human-readable description of the cron expression. | [optional] [readonly]
910
**first_run** | **datetime** | Timestamp of the first scheduled action. If not provided default to the next scheduled time. | [optional]
10-
**timezone** | **str** | Timezone in which the schedule is defined. | [optional]
1111
**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional]
1212

1313
[[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/gooddata_api_client/model/automation_schedule.py

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -89,9 +89,9 @@ def openapi_types():
8989
"""
9090
return {
9191
'cron': (str,), # noqa: E501
92+
'timezone': (str,), # noqa: E501
9293
'cron_description': (str,), # noqa: E501
9394
'first_run': (datetime,), # noqa: E501
94-
'timezone': (str,), # noqa: E501
9595
}
9696

9797
@cached_property
@@ -101,9 +101,9 @@ def discriminator():
101101

102102
attribute_map = {
103103
'cron': 'cron', # noqa: E501
104+
'timezone': 'timezone', # noqa: E501
104105
'cron_description': 'cronDescription', # noqa: E501
105106
'first_run': 'firstRun', # noqa: E501
106-
'timezone': 'timezone', # noqa: E501
107107
}
108108

109109
read_only_vars = {
@@ -114,11 +114,12 @@ def discriminator():
114114

115115
@classmethod
116116
@convert_js_args_to_python_args
117-
def _from_openapi_data(cls, cron, *args, **kwargs): # noqa: E501
117+
def _from_openapi_data(cls, cron, timezone, *args, **kwargs): # noqa: E501
118118
"""AutomationSchedule - a model defined in OpenAPI
119119
120120
Args:
121121
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.
122+
timezone (str): Timezone in which the schedule is defined.
122123
123124
Keyword Args:
124125
_check_type (bool): if True, values for parameters in openapi_types
@@ -153,7 +154,6 @@ def _from_openapi_data(cls, cron, *args, **kwargs): # noqa: E501
153154
_visited_composed_classes = (Animal,)
154155
cron_description (str): Human-readable description of the cron expression.. [optional] # noqa: E501
155156
first_run (datetime): Timestamp of the first scheduled action. If not provided default to the next scheduled time.. [optional] # noqa: E501
156-
timezone (str): Timezone in which the schedule is defined.. [optional] # noqa: E501
157157
"""
158158

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

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

208209
@convert_js_args_to_python_args
209-
def __init__(self, cron, *args, **kwargs): # noqa: E501
210+
def __init__(self, cron, timezone, *args, **kwargs): # noqa: E501
210211
"""AutomationSchedule - a model defined in OpenAPI
211212
212213
Args:
213214
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.
215+
timezone (str): Timezone in which the schedule is defined.
214216
215217
Keyword Args:
216218
_check_type (bool): if True, values for parameters in openapi_types
@@ -245,7 +247,6 @@ def __init__(self, cron, *args, **kwargs): # noqa: E501
245247
_visited_composed_classes = (Animal,)
246248
cron_description (str): Human-readable description of the cron expression.. [optional] # noqa: E501
247249
first_run (datetime): Timestamp of the first scheduled action. If not provided default to the next scheduled time.. [optional] # noqa: E501
248-
timezone (str): Timezone in which the schedule is defined.. [optional] # noqa: E501
249250
"""
250251

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

278279
self.cron = cron
280+
self.timezone = timezone
279281
for var_name, var_value in kwargs.items():
280282
if var_name not in self.attribute_map and \
281283
self._configuration is not None and \

gooddata-api-client/gooddata_api_client/model/json_api_automation_in_attributes_schedule.py

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -89,9 +89,9 @@ def openapi_types():
8989
"""
9090
return {
9191
'cron': (str,), # noqa: E501
92+
'timezone': (str,), # noqa: E501
9293
'cron_description': (str,), # noqa: E501
9394
'first_run': (datetime,), # noqa: E501
94-
'timezone': (str,), # noqa: E501
9595
}
9696

9797
@cached_property
@@ -101,9 +101,9 @@ def discriminator():
101101

102102
attribute_map = {
103103
'cron': 'cron', # noqa: E501
104+
'timezone': 'timezone', # noqa: E501
104105
'cron_description': 'cronDescription', # noqa: E501
105106
'first_run': 'firstRun', # noqa: E501
106-
'timezone': 'timezone', # noqa: E501
107107
}
108108

109109
read_only_vars = {
@@ -114,11 +114,12 @@ def discriminator():
114114

115115
@classmethod
116116
@convert_js_args_to_python_args
117-
def _from_openapi_data(cls, cron, *args, **kwargs): # noqa: E501
117+
def _from_openapi_data(cls, cron, timezone, *args, **kwargs): # noqa: E501
118118
"""JsonApiAutomationInAttributesSchedule - a model defined in OpenAPI
119119
120120
Args:
121121
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.
122+
timezone (str): Timezone in which the schedule is defined.
122123
123124
Keyword Args:
124125
_check_type (bool): if True, values for parameters in openapi_types
@@ -153,7 +154,6 @@ def _from_openapi_data(cls, cron, *args, **kwargs): # noqa: E501
153154
_visited_composed_classes = (Animal,)
154155
cron_description (str): Human-readable description of the cron expression.. [optional] # noqa: E501
155156
first_run (datetime): Timestamp of the first scheduled action. If not provided default to the next scheduled time.. [optional] # noqa: E501
156-
timezone (str): Timezone in which the schedule is defined.. [optional] # noqa: E501
157157
"""
158158

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

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

208209
@convert_js_args_to_python_args
209-
def __init__(self, cron, *args, **kwargs): # noqa: E501
210+
def __init__(self, cron, timezone, *args, **kwargs): # noqa: E501
210211
"""JsonApiAutomationInAttributesSchedule - a model defined in OpenAPI
211212
212213
Args:
213214
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.
215+
timezone (str): Timezone in which the schedule is defined.
214216
215217
Keyword Args:
216218
_check_type (bool): if True, values for parameters in openapi_types
@@ -245,7 +247,6 @@ def __init__(self, cron, *args, **kwargs): # noqa: E501
245247
_visited_composed_classes = (Animal,)
246248
cron_description (str): Human-readable description of the cron expression.. [optional] # noqa: E501
247249
first_run (datetime): Timestamp of the first scheduled action. If not provided default to the next scheduled time.. [optional] # noqa: E501
248-
timezone (str): Timezone in which the schedule is defined.. [optional] # noqa: E501
249250
"""
250251

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

278279
self.cron = cron
280+
self.timezone = timezone
279281
for var_name, var_value in kwargs.items():
280282
if var_name not in self.attribute_map and \
281283
self._configuration is not None and \

schemas/gooddata-api-client.json

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1225,7 +1225,8 @@
12251225
}
12261226
},
12271227
"required": [
1228-
"cron"
1228+
"cron",
1229+
"timezone"
12291230
],
12301231
"type": "object"
12311232
},
@@ -8353,7 +8354,8 @@
83538354
}
83548355
},
83558356
"required": [
8356-
"cron"
8357+
"cron",
8358+
"timezone"
83578359
],
83588360
"type": "object"
83598361
},
@@ -8615,7 +8617,8 @@
86158617
}
86168618
},
86178619
"required": [
8618-
"cron"
8620+
"cron",
8621+
"timezone"
86198622
],
86208623
"type": "object"
86218624
},
@@ -8973,7 +8976,8 @@
89738976
}
89748977
},
89758978
"required": [
8976-
"cron"
8979+
"cron",
8980+
"timezone"
89778981
],
89788982
"type": "object"
89798983
},

schemas/gooddata-metadata-client.json

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -637,7 +637,8 @@
637637
}
638638
},
639639
"required": [
640-
"cron"
640+
"cron",
641+
"timezone"
641642
],
642643
"type": "object"
643644
},
@@ -6310,7 +6311,8 @@
63106311
}
63116312
},
63126313
"required": [
6313-
"cron"
6314+
"cron",
6315+
"timezone"
63146316
],
63156317
"type": "object"
63166318
},
@@ -6572,7 +6574,8 @@
65726574
}
65736575
},
65746576
"required": [
6575-
"cron"
6577+
"cron",
6578+
"timezone"
65766579
],
65776580
"type": "object"
65786581
},
@@ -6930,7 +6933,8 @@
69306933
}
69316934
},
69326935
"required": [
6933-
"cron"
6936+
"cron",
6937+
"timezone"
69346938
],
69356939
"type": "object"
69366940
},

0 commit comments

Comments
 (0)