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/app_app_sandbox_build.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
from ..models.app_log_stream import AppLogStream
from ..models.app_runner_job import AppRunnerJob
from ..models.app_vcs_connection_commit import AppVCSConnectionCommit
from ..models.compositeerrors_composite_error_data import CompositeerrorsCompositeErrorData


T = TypeVar("T", bound="AppAppSandboxBuild")
Expand All @@ -26,6 +27,7 @@ class AppAppSandboxBuild:
app_config_id (str | Unset):
app_id (str | Unset):
app_sandbox_config_id (str | Unset):
composite_error (CompositeerrorsCompositeErrorData | Unset):
created_at (str | Unset):
created_by (AppAccount | Unset):
created_by_id (str | Unset):
Expand All @@ -43,6 +45,7 @@ class AppAppSandboxBuild:
app_config_id: str | Unset = UNSET
app_id: str | Unset = UNSET
app_sandbox_config_id: str | Unset = UNSET
composite_error: CompositeerrorsCompositeErrorData | Unset = UNSET
created_at: str | Unset = UNSET
created_by: AppAccount | Unset = UNSET
created_by_id: str | Unset = UNSET
Expand All @@ -64,6 +67,10 @@ def to_dict(self) -> dict[str, Any]:

app_sandbox_config_id = self.app_sandbox_config_id

composite_error: dict[str, Any] | Unset = UNSET
if not isinstance(self.composite_error, Unset):
composite_error = self.composite_error.to_dict()

created_at = self.created_at

created_by: dict[str, Any] | Unset = UNSET
Expand Down Expand Up @@ -107,6 +114,8 @@ def to_dict(self) -> dict[str, Any]:
field_dict["app_id"] = app_id
if app_sandbox_config_id is not UNSET:
field_dict["app_sandbox_config_id"] = app_sandbox_config_id
if composite_error is not UNSET:
field_dict["composite_error"] = composite_error
if created_at is not UNSET:
field_dict["created_at"] = created_at
if created_by is not UNSET:
Expand Down Expand Up @@ -141,6 +150,7 @@ def from_dict(cls: type[T], src_dict: Mapping[str, Any]) -> T:
from ..models.app_log_stream import AppLogStream
from ..models.app_runner_job import AppRunnerJob
from ..models.app_vcs_connection_commit import AppVCSConnectionCommit
from ..models.compositeerrors_composite_error_data import CompositeerrorsCompositeErrorData

d = dict(src_dict)
app_config_id = d.pop("app_config_id", UNSET)
Expand All @@ -149,6 +159,13 @@ def from_dict(cls: type[T], src_dict: Mapping[str, Any]) -> T:

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

_composite_error = d.pop("composite_error", UNSET)
composite_error: CompositeerrorsCompositeErrorData | Unset
if isinstance(_composite_error, Unset):
composite_error = UNSET
else:
composite_error = CompositeerrorsCompositeErrorData.from_dict(_composite_error)

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

_created_by = d.pop("created_by", UNSET)
Expand Down Expand Up @@ -202,6 +219,7 @@ def from_dict(cls: type[T], src_dict: Mapping[str, Any]) -> T:
app_config_id=app_config_id,
app_id=app_id,
app_sandbox_config_id=app_sandbox_config_id,
composite_error=composite_error,
created_at=created_at,
created_by=created_by,
created_by_id=created_by_id,
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.1118"
version = "0.19.1119"
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.1118
0.19.1119
Loading