diff --git a/CHANGELOG.md b/CHANGELOG.md index a9ced79e..1f108a98 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -17,9 +17,12 @@ - `dns`: [v0.5.1](services/dns/CHANGELOG.md#v051) - **Feature:** client now supports UUID and decimal types - **Bugfix:** timeouts now passed to requests library -- `edge`: [v0.1.1](services/edge/CHANGELOG.md#v011) - - **Feature:** client now supports UUID and decimal types - - **Bugfix:** timeouts now passed to requests library +- `edge`: + - [v0.2.0](services/edge/CHANGELOG.md#v020) + - **Feature:** Add new attribute `min_edge_hosts` to model class `Plan` + - [v0.1.1](services/edge/CHANGELOG.md#v011) + - **Feature:** client now supports UUID and decimal types + - **Bugfix:** timeouts now passed to requests library - `git`: [v0.8.0](services/git/CHANGELOG.md#v080) - **Feature:** client now supports UUID and decimal types - **Bugfix:** timeouts now passed to requests library diff --git a/services/edge/CHANGELOG.md b/services/edge/CHANGELOG.md index 7180a9d1..1e8f6852 100644 --- a/services/edge/CHANGELOG.md +++ b/services/edge/CHANGELOG.md @@ -1,6 +1,9 @@ +## v0.2.0 +- **Feature:** Add new attribute `min_edge_hosts` to model class `Plan` + ## v0.1.1 - **Feature:** client now supports UUID and decimal types - **Bugfix:** timeouts now passed to requests library ## v0.1.0 -- **New**: STACKIT Edge Cloud (STEC) service \ No newline at end of file +- **New**: STACKIT Edge Cloud (STEC) service diff --git a/services/edge/oas_commit b/services/edge/oas_commit index e3713dde..10556829 100644 --- a/services/edge/oas_commit +++ b/services/edge/oas_commit @@ -1 +1 @@ -0e64886dd0847341800d7191ed193b75413be998 +23892ef8e96d845bad401827264d44b690a28abe diff --git a/services/edge/pyproject.toml b/services/edge/pyproject.toml index e993417c..8353a282 100644 --- a/services/edge/pyproject.toml +++ b/services/edge/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "stackit-edge" -version = "v0.1.1" +version = "v0.2.0" description = "STACKIT Edge Cloud API" authors = [{ name = "STACKIT Developer Tools", email = "developer-tools@stackit.cloud" }] requires-python = ">=3.9,<4" diff --git a/services/edge/src/stackit/edge/models/plan.py b/services/edge/src/stackit/edge/models/plan.py index 268b296d..13382005 100644 --- a/services/edge/src/stackit/edge/models/plan.py +++ b/services/edge/src/stackit/edge/models/plan.py @@ -32,8 +32,11 @@ class Plan(BaseModel): max_edge_hosts: Optional[StrictInt] = Field( default=None, description="Maximum number of EdgeHosts", alias="maxEdgeHosts" ) + min_edge_hosts: Optional[StrictInt] = Field( + default=None, description="Minimum number of EdgeHosts charged", alias="minEdgeHosts" + ) name: Optional[StrictStr] = Field(default=None, description="Service Plan Name") - __properties: ClassVar[List[str]] = ["description", "id", "maxEdgeHosts", "name"] + __properties: ClassVar[List[str]] = ["description", "id", "maxEdgeHosts", "minEdgeHosts", "name"] model_config = ConfigDict( populate_by_name=True, @@ -88,6 +91,7 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: "description": obj.get("description"), "id": obj.get("id"), "maxEdgeHosts": obj.get("maxEdgeHosts"), + "minEdgeHosts": obj.get("minEdgeHosts"), "name": obj.get("name"), } )