diff --git a/doc/changes/unreleased.md b/doc/changes/unreleased.md index 79e701b..97cb495 100644 --- a/doc/changes/unreleased.md +++ b/doc/changes/unreleased.md @@ -1 +1,14 @@ # Unreleased + +## Summary + +This release updates the Python API generated from file `openapi.json`. + +The updated API contains 3 additional fields for object `Schedule`: +* `createdbyID` +* `createdbyFirstName` +* `createdbyLastName` + +## Refactorings + +* #80: Updated `openapi.json` \ No newline at end of file diff --git a/exasol/saas/client/openapi/models/schedule.py b/exasol/saas/client/openapi/models/schedule.py index 701d6a8..aec7b6e 100644 --- a/exasol/saas/client/openapi/models/schedule.py +++ b/exasol/saas/client/openapi/models/schedule.py @@ -40,6 +40,9 @@ class Schedule: cron_rule (str): cron rule in format: payload (Union['ClusterActionScale', 'ClusterActionStartStop']): id (Union[Unset, str]): + createdby_id (Union[Unset, str]): + createdby_first_name (Union[Unset, str]): + createdby_last_name (Union[Unset, str]): cluster_name (Union[Unset, str]): """ @@ -47,6 +50,9 @@ class Schedule: cron_rule: str payload: Union['ClusterActionScale', 'ClusterActionStartStop'] id: Union[Unset, str] = UNSET + createdby_id: Union[Unset, str] = UNSET + createdby_first_name: Union[Unset, str] = UNSET + createdby_last_name: Union[Unset, str] = UNSET cluster_name: Union[Unset, str] = UNSET @@ -69,6 +75,12 @@ def to_dict(self) -> Dict[str, Any]: id = self.id + createdby_id = self.createdby_id + + createdby_first_name = self.createdby_first_name + + createdby_last_name = self.createdby_last_name + cluster_name = self.cluster_name @@ -80,6 +92,12 @@ def to_dict(self) -> Dict[str, Any]: }) if id is not UNSET: field_dict["id"] = id + if createdby_id is not UNSET: + field_dict["createdbyID"] = createdby_id + if createdby_first_name is not UNSET: + field_dict["createdbyFirstName"] = createdby_first_name + if createdby_last_name is not UNSET: + field_dict["createdbyLastName"] = createdby_last_name if cluster_name is not UNSET: field_dict["clusterName"] = cluster_name @@ -130,6 +148,12 @@ def _parse_payload(data: object) -> Union['ClusterActionScale', 'ClusterActionSt id = d.pop("id", UNSET) + createdby_id = d.pop("createdbyID", UNSET) + + createdby_first_name = d.pop("createdbyFirstName", UNSET) + + createdby_last_name = d.pop("createdbyLastName", UNSET) + cluster_name = d.pop("clusterName", UNSET) schedule = cls( @@ -137,6 +161,9 @@ def _parse_payload(data: object) -> Union['ClusterActionScale', 'ClusterActionSt cron_rule=cron_rule, payload=payload, id=id, + createdby_id=createdby_id, + createdby_first_name=createdby_first_name, + createdby_last_name=createdby_last_name, cluster_name=cluster_name, ) diff --git a/openapi.json b/openapi.json index 2549244..e114b31 100644 --- a/openapi.json +++ b/openapi.json @@ -6,7 +6,7 @@ "version": "1.0", "download": { "source": "https://cloud.exasol.com/openapi.json", - "timestamp": "2024-09-16T07:47:42.561924+00:00" + "timestamp": "2024-10-09T08:16:21.376250+00:00" } }, "servers": [ @@ -3278,6 +3278,15 @@ "id": { "type": "string" }, + "createdbyID": { + "type": "string" + }, + "createdbyFirstName": { + "type": "string" + }, + "createdbyLastName": { + "type": "string" + }, "clusterName": { "type": "string" },