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
18 changes: 18 additions & 0 deletions nuon/models/config_custom_nested_stack.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,19 +19,27 @@
class ConfigCustomNestedStack:
"""
Attributes:
contents (str | Unset):
contents_hash (str | Unset):
index (int | Unset):
name (str | Unset):
parameters (ConfigCustomNestedStackParameters | Unset):
template_url (str | Unset):
"""

contents: str | Unset = UNSET
contents_hash: str | Unset = UNSET
index: int | Unset = UNSET
name: str | Unset = UNSET
parameters: ConfigCustomNestedStackParameters | Unset = UNSET
template_url: str | Unset = UNSET
additional_properties: dict[str, Any] = _attrs_field(init=False, factory=dict)

def to_dict(self) -> dict[str, Any]:
contents = self.contents

contents_hash = self.contents_hash

index = self.index

name = self.name
Expand All @@ -45,6 +53,10 @@ def to_dict(self) -> dict[str, Any]:
field_dict: dict[str, Any] = {}
field_dict.update(self.additional_properties)
field_dict.update({})
if contents is not UNSET:
field_dict["contents"] = contents
if contents_hash is not UNSET:
field_dict["contents_hash"] = contents_hash
if index is not UNSET:
field_dict["index"] = index
if name is not UNSET:
Expand All @@ -61,6 +73,10 @@ def from_dict(cls: type[T], src_dict: Mapping[str, Any]) -> T:
from ..models.config_custom_nested_stack_parameters import ConfigCustomNestedStackParameters

d = dict(src_dict)
contents = d.pop("contents", UNSET)

contents_hash = d.pop("contents_hash", UNSET)

index = d.pop("index", UNSET)

name = d.pop("name", UNSET)
Expand All @@ -75,6 +91,8 @@ def from_dict(cls: type[T], src_dict: Mapping[str, Any]) -> T:
template_url = d.pop("template_url", UNSET)

config_custom_nested_stack = cls(
contents=contents,
contents_hash=contents_hash,
index=index,
name=name,
parameters=parameters,
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.790"
version = "0.19.793"
description = "A client library for accessing Nuon"
authors = []
requires-python = ">=3.10"
Expand Down
2 changes: 1 addition & 1 deletion version.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.19.790
0.19.793
Loading