From c924f9d21ad733c095669e83e69c8b4ebe8c891d Mon Sep 17 00:00:00 2001 From: nuonbot Date: Fri, 7 Aug 2026 17:08:02 +0000 Subject: [PATCH] ci: generate from api 0.19.1113 --- nuon/models/service_create_runbook_run_request.py | 9 +++++++++ pyproject.toml | 2 +- version.txt | 2 +- 3 files changed, 11 insertions(+), 2 deletions(-) diff --git a/nuon/models/service_create_runbook_run_request.py b/nuon/models/service_create_runbook_run_request.py index 06729cb6..9fc16c00 100644 --- a/nuon/models/service_create_runbook_run_request.py +++ b/nuon/models/service_create_runbook_run_request.py @@ -21,10 +21,12 @@ class ServiceCreateRunbookRunRequest: """ Attributes: inputs (ServiceCreateRunbookRunRequestInputs | Unset): + role (str | Unset): steps (list[ServiceCreateRunbookRunStepSelection] | Unset): """ inputs: ServiceCreateRunbookRunRequestInputs | Unset = UNSET + role: str | Unset = UNSET steps: list[ServiceCreateRunbookRunStepSelection] | Unset = UNSET additional_properties: dict[str, Any] = _attrs_field(init=False, factory=dict) @@ -33,6 +35,8 @@ def to_dict(self) -> dict[str, Any]: if not isinstance(self.inputs, Unset): inputs = self.inputs.to_dict() + role = self.role + steps: list[dict[str, Any]] | Unset = UNSET if not isinstance(self.steps, Unset): steps = [] @@ -45,6 +49,8 @@ def to_dict(self) -> dict[str, Any]: field_dict.update({}) if inputs is not UNSET: field_dict["inputs"] = inputs + if role is not UNSET: + field_dict["role"] = role if steps is not UNSET: field_dict["steps"] = steps @@ -63,6 +69,8 @@ def from_dict(cls: type[T], src_dict: Mapping[str, Any]) -> T: else: inputs = ServiceCreateRunbookRunRequestInputs.from_dict(_inputs) + role = d.pop("role", UNSET) + _steps = d.pop("steps", UNSET) steps: list[ServiceCreateRunbookRunStepSelection] | Unset = UNSET if _steps is not UNSET: @@ -74,6 +82,7 @@ def from_dict(cls: type[T], src_dict: Mapping[str, Any]) -> T: service_create_runbook_run_request = cls( inputs=inputs, + role=role, steps=steps, ) diff --git a/pyproject.toml b/pyproject.toml index 24e25f70..7658b634 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "nuon" -version = "0.19.1111" +version = "0.19.1113" description = "A client library for accessing Nuon" authors = [] requires-python = ">=3.11" diff --git a/version.txt b/version.txt index 120cecc7..3d69ea9e 100644 --- a/version.txt +++ b/version.txt @@ -1 +1 @@ -0.19.1111 +0.19.1113