Skip to content

Commit 1e564ee

Browse files
Generator: Update SDK /services/edge (#3536)
Co-authored-by: Ruben Hoenle <Ruben.Hoenle@digits.schwarz>
1 parent bc233a5 commit 1e564ee

File tree

5 files changed

+17
-7
lines changed

5 files changed

+17
-7
lines changed

CHANGELOG.md

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,12 @@
1717
- `dns`: [v0.5.1](services/dns/CHANGELOG.md#v051)
1818
- **Feature:** client now supports UUID and decimal types
1919
- **Bugfix:** timeouts now passed to requests library
20-
- `edge`: [v0.1.1](services/edge/CHANGELOG.md#v011)
21-
- **Feature:** client now supports UUID and decimal types
22-
- **Bugfix:** timeouts now passed to requests library
20+
- `edge`:
21+
- [v0.2.0](services/edge/CHANGELOG.md#v020)
22+
- **Feature:** Add new attribute `min_edge_hosts` to model class `Plan`
23+
- [v0.1.1](services/edge/CHANGELOG.md#v011)
24+
- **Feature:** client now supports UUID and decimal types
25+
- **Bugfix:** timeouts now passed to requests library
2326
- `git`: [v0.8.0](services/git/CHANGELOG.md#v080)
2427
- **Feature:** client now supports UUID and decimal types
2528
- **Bugfix:** timeouts now passed to requests library

services/edge/CHANGELOG.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
1+
## v0.2.0
2+
- **Feature:** Add new attribute `min_edge_hosts` to model class `Plan`
3+
14
## v0.1.1
25
- **Feature:** client now supports UUID and decimal types
36
- **Bugfix:** timeouts now passed to requests library
47

58
## v0.1.0
6-
- **New**: STACKIT Edge Cloud (STEC) service
9+
- **New**: STACKIT Edge Cloud (STEC) service

services/edge/oas_commit

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
0e64886dd0847341800d7191ed193b75413be998
1+
23892ef8e96d845bad401827264d44b690a28abe

services/edge/pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[project]
22
name = "stackit-edge"
3-
version = "v0.1.1"
3+
version = "v0.2.0"
44
description = "STACKIT Edge Cloud API"
55
authors = [{ name = "STACKIT Developer Tools", email = "developer-tools@stackit.cloud" }]
66
requires-python = ">=3.9,<4"

services/edge/src/stackit/edge/models/plan.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,11 @@ class Plan(BaseModel):
3232
max_edge_hosts: Optional[StrictInt] = Field(
3333
default=None, description="Maximum number of EdgeHosts", alias="maxEdgeHosts"
3434
)
35+
min_edge_hosts: Optional[StrictInt] = Field(
36+
default=None, description="Minimum number of EdgeHosts charged", alias="minEdgeHosts"
37+
)
3538
name: Optional[StrictStr] = Field(default=None, description="Service Plan Name")
36-
__properties: ClassVar[List[str]] = ["description", "id", "maxEdgeHosts", "name"]
39+
__properties: ClassVar[List[str]] = ["description", "id", "maxEdgeHosts", "minEdgeHosts", "name"]
3740

3841
model_config = ConfigDict(
3942
populate_by_name=True,
@@ -88,6 +91,7 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]:
8891
"description": obj.get("description"),
8992
"id": obj.get("id"),
9093
"maxEdgeHosts": obj.get("maxEdgeHosts"),
94+
"minEdgeHosts": obj.get("minEdgeHosts"),
9195
"name": obj.get("name"),
9296
}
9397
)

0 commit comments

Comments
 (0)