diff --git a/nuon/models/app_app_runner_config.py b/nuon/models/app_app_runner_config.py index 86300870..338f6c3b 100644 --- a/nuon/models/app_app_runner_config.py +++ b/nuon/models/app_app_runner_config.py @@ -35,6 +35,9 @@ class AppAppRunnerConfig: instance_type (str | Unset): InstanceType is the cloud machine/instance type for the install runner host, mapped per cloud platform. org_id (str | Unset): + public_api_url (str | Unset): PublicAPIURL overrides the Nuon public API endpoint used for phone-home callbacks. + runner_api_url (str | Unset): RunnerAPIURL overrides the Nuon runner API endpoint for installs using this + config. updated_at (str | Unset): """ @@ -50,6 +53,8 @@ class AppAppRunnerConfig: init_script: str | Unset = UNSET instance_type: str | Unset = UNSET org_id: str | Unset = UNSET + public_api_url: str | Unset = UNSET + runner_api_url: str | Unset = UNSET updated_at: str | Unset = UNSET additional_properties: dict[str, Any] = _attrs_field(init=False, factory=dict) @@ -84,6 +89,10 @@ def to_dict(self) -> dict[str, Any]: org_id = self.org_id + public_api_url = self.public_api_url + + runner_api_url = self.runner_api_url + updated_at = self.updated_at field_dict: dict[str, Any] = {} @@ -113,6 +122,10 @@ def to_dict(self) -> dict[str, Any]: field_dict["instance_type"] = instance_type if org_id is not UNSET: field_dict["org_id"] = org_id + if public_api_url is not UNSET: + field_dict["public_api_url"] = public_api_url + if runner_api_url is not UNSET: + field_dict["runner_api_url"] = runner_api_url if updated_at is not UNSET: field_dict["updated_at"] = updated_at @@ -162,6 +175,10 @@ def from_dict(cls: type[T], src_dict: Mapping[str, Any]) -> T: org_id = d.pop("org_id", UNSET) + public_api_url = d.pop("public_api_url", UNSET) + + runner_api_url = d.pop("runner_api_url", UNSET) + updated_at = d.pop("updated_at", UNSET) app_app_runner_config = cls( @@ -177,6 +194,8 @@ def from_dict(cls: type[T], src_dict: Mapping[str, Any]) -> T: init_script=init_script, instance_type=instance_type, org_id=org_id, + public_api_url=public_api_url, + runner_api_url=runner_api_url, updated_at=updated_at, ) diff --git a/nuon/models/service_create_app_runner_config_request.py b/nuon/models/service_create_app_runner_config_request.py index 66253dcd..c9018df9 100644 --- a/nuon/models/service_create_app_runner_config_request.py +++ b/nuon/models/service_create_app_runner_config_request.py @@ -27,6 +27,8 @@ class ServiceCreateAppRunnerConfigRequest: helm_driver (AppAppRunnerConfigHelmDriverType | Unset): init_script_url (str | Unset): instance_type (str | Unset): + public_api_url (str | Unset): + runner_api_url (str | Unset): """ type_: AppAppRunnerType @@ -35,6 +37,8 @@ class ServiceCreateAppRunnerConfigRequest: helm_driver: AppAppRunnerConfigHelmDriverType | Unset = UNSET init_script_url: str | Unset = UNSET instance_type: str | Unset = UNSET + public_api_url: str | Unset = UNSET + runner_api_url: str | Unset = UNSET additional_properties: dict[str, Any] = _attrs_field(init=False, factory=dict) def to_dict(self) -> dict[str, Any]: @@ -54,6 +58,10 @@ def to_dict(self) -> dict[str, Any]: instance_type = self.instance_type + public_api_url = self.public_api_url + + runner_api_url = self.runner_api_url + field_dict: dict[str, Any] = {} field_dict.update(self.additional_properties) field_dict.update( @@ -71,6 +79,10 @@ def to_dict(self) -> dict[str, Any]: field_dict["init_script_url"] = init_script_url if instance_type is not UNSET: field_dict["instance_type"] = instance_type + if public_api_url is not UNSET: + field_dict["public_api_url"] = public_api_url + if runner_api_url is not UNSET: + field_dict["runner_api_url"] = runner_api_url return field_dict @@ -103,6 +115,10 @@ def from_dict(cls: type[T], src_dict: Mapping[str, Any]) -> T: instance_type = d.pop("instance_type", UNSET) + public_api_url = d.pop("public_api_url", UNSET) + + runner_api_url = d.pop("runner_api_url", UNSET) + service_create_app_runner_config_request = cls( type_=type_, app_config_id=app_config_id, @@ -110,6 +126,8 @@ def from_dict(cls: type[T], src_dict: Mapping[str, Any]) -> T: helm_driver=helm_driver, init_script_url=init_script_url, instance_type=instance_type, + public_api_url=public_api_url, + runner_api_url=runner_api_url, ) service_create_app_runner_config_request.additional_properties = d diff --git a/pyproject.toml b/pyproject.toml index 77e208ba..4e169f03 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "nuon" -version = "0.19.1025" +version = "0.19.1029" description = "A client library for accessing Nuon" authors = [] requires-python = ">=3.11" diff --git a/version.txt b/version.txt index f6abacb8..93ec135b 100644 --- a/version.txt +++ b/version.txt @@ -1 +1 @@ -0.19.1025 +0.19.1029