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
9 changes: 9 additions & 0 deletions nuon/models/service_create_runbook_run_request.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand All @@ -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 = []
Expand All @@ -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

Expand All @@ -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:
Expand All @@ -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,
)

Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -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"
Expand Down
2 changes: 1 addition & 1 deletion version.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.19.1111
0.19.1113
Loading