Skip to content

Commit d7548ab

Browse files
Generator: Update SDK /services/stackitmarketplace (#2321)
Co-authored-by: Ruben Hoenle <Ruben.Hoenle@stackit.cloud>
1 parent c42ba47 commit d7548ab

File tree

4 files changed

+11
-1
lines changed

4 files changed

+11
-1
lines changed

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@
33
- **Feature:** Add response `IntakeRunnerResponse` to `UpdateIntakeRunnerExecute` request
44
- **Feature:** Add response `IntakeUserResponse` to `UpdateIntakeUserExecute` request
55
- `stackitmarketplace`:
6+
- [v1.13.0](services/stackitmarketplace/CHANGELOG.md#v1130)
7+
- **Feature:** Add `has_demo` attribute to `CatalogProductDetail` model class
68
- [v1.12.0](services/stackitmarketplace/CHANGELOG.md#v1120)
79
- **Breaking Change:** Change `logo` field type from `Union[StrictBytes, StrictStr]` to `StrictStr` in `CatalogProductDetail`, `CatalogProductDetailsVendor`, and `CatalogProductOverview` models
810
- [v1.11.0](services/stackitmarketplace/CHANGELOG.md#v1110)

services/stackitmarketplace/CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
## v1.13.0
2+
- **Feature:** Add `has_demo` attribute to `CatalogProductDetail` model class
3+
14
## v1.12.0
25
- **Breaking Change:** Change `logo` field type from `Union[StrictBytes, StrictStr]` to `StrictStr` in `CatalogProductDetail`, `CatalogProductDetailsVendor`, and `CatalogProductOverview` models
36

services/stackitmarketplace/pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name = "stackit-stackitmarketplace"
33

44
[tool.poetry]
55
name = "stackit-stackitmarketplace"
6-
version = "v1.12.0"
6+
version = "v1.13.0"
77
authors = [
88
"STACKIT Developer Tools <developer-tools@stackit.cloud>",
99
]

services/stackitmarketplace/src/stackit/stackitmarketplace/models/catalog_product_detail.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,9 @@ class CatalogProductDetail(BaseModel):
7070
description="The documentation URL.", alias="documentationUrl"
7171
)
7272
email: Optional[StrictStr] = Field(default=None, description="A e-mail address.")
73+
has_demo: Optional[StrictBool] = Field(
74+
default=None, description="If the product has a demoUrl available.", alias="hasDemo"
75+
)
7376
highlights: List[CatalogProductHighlight] = Field(description="The list of highlights.")
7477
industries: Optional[List[StrictStr]] = Field(
7578
default=None, description="The list of industries associated to the product."
@@ -114,6 +117,7 @@ class CatalogProductDetail(BaseModel):
114117
"description",
115118
"documentationUrl",
116119
"email",
120+
"hasDemo",
117121
"highlights",
118122
"industries",
119123
"isProductListing",
@@ -279,6 +283,7 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]:
279283
"description": obj.get("description"),
280284
"documentationUrl": obj.get("documentationUrl"),
281285
"email": obj.get("email"),
286+
"hasDemo": obj.get("hasDemo"),
282287
"highlights": (
283288
[CatalogProductHighlight.from_dict(_item) for _item in obj["highlights"]]
284289
if obj.get("highlights") is not None

0 commit comments

Comments
 (0)