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
9 changes: 6 additions & 3 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
5 changes: 4 additions & 1 deletion services/edge/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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
- **New**: STACKIT Edge Cloud (STEC) service
2 changes: 1 addition & 1 deletion services/edge/oas_commit
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0e64886dd0847341800d7191ed193b75413be998
23892ef8e96d845bad401827264d44b690a28abe
2 changes: 1 addition & 1 deletion services/edge/pyproject.toml
Original file line number Diff line number Diff line change
@@ -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"
Expand Down
6 changes: 5 additions & 1 deletion services/edge/src/stackit/edge/models/plan.py
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down Expand Up @@ -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"),
}
)
Expand Down
Loading