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
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,8 @@
- [v1.2.0](services/serviceenablement/CHANGELOG.md#v120)
- **Feature:** regenerate with openapi-generator v7.22.0
- `sfs`:
- [v0.7.0](services/sfs/CHANGELOG.md#v070)
- **Feature:** attribute `snapshotPolicyId` in model `ResourcePoolPayload` is now optional
- [v0.6.0](services/sfs/CHANGELOG.md#v060)
- **Feature:** regenerate with openapi-generator v7.22.0
- [v0.5.0](services/sfs/CHANGELOG.md#v050)
Expand Down
3 changes: 3 additions & 0 deletions services/sfs/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
## v0.7.0
- **Feature:** attribute `snapshotPolicyId` in model `ResourcePoolPayload` is now optional

## v0.6.0
- **Feature:** regenerate with openapi-generator v7.22.0

Expand Down
2 changes: 1 addition & 1 deletion services/sfs/oas_commit
Original file line number Diff line number Diff line change
@@ -1 +1 @@
a896a71ffc1c1152f63b40a0194ac461ce179d6c
8ccf08fdae6320251259ca695f1e7180eeb21275
2 changes: 1 addition & 1 deletion services/sfs/pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[project]
name = "stackit-sfs"
version = "v0.6.0"
version = "v0.7.0"
description = "STACKIT File Storage (SFS)"
authors = [{ name = "STACKIT Developer Tools", email = "developer-tools@stackit.cloud" }]
requires-python = ">=3.9,<4"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,11 @@ def to_dict(self) -> Dict[str, Any]:
if self.size_gigabytes is None and "size_gigabytes" in self.model_fields_set:
_dict["sizeGigabytes"] = None

# set to None if snapshot_policy_id (nullable) is None
# and model_fields_set contains the field
if self.snapshot_policy_id is None and "snapshot_policy_id" in self.model_fields_set:
_dict["snapshotPolicyId"] = None

return _dict

@classmethod
Expand Down
Loading