Skip to content

Commit d9004db

Browse files
Generate stackitmarketplace
1 parent d7548ab commit d9004db

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

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

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,9 @@ class CatalogProductDetail(BaseModel):
7373
has_demo: Optional[StrictBool] = Field(
7474
default=None, description="If the product has a demoUrl available.", alias="hasDemo"
7575
)
76+
has_private_plan_option: Optional[StrictBool] = Field(
77+
default=None, description="If the product has a private plan option.", alias="hasPrivatePlanOption"
78+
)
7679
highlights: List[CatalogProductHighlight] = Field(description="The list of highlights.")
7780
industries: Optional[List[StrictStr]] = Field(
7881
default=None, description="The list of industries associated to the product."
@@ -118,6 +121,7 @@ class CatalogProductDetail(BaseModel):
118121
"documentationUrl",
119122
"email",
120123
"hasDemo",
124+
"hasPrivatePlanOption",
121125
"highlights",
122126
"industries",
123127
"isProductListing",
@@ -284,6 +288,7 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]:
284288
"documentationUrl": obj.get("documentationUrl"),
285289
"email": obj.get("email"),
286290
"hasDemo": obj.get("hasDemo"),
291+
"hasPrivatePlanOption": obj.get("hasPrivatePlanOption"),
287292
"highlights": (
288293
[CatalogProductHighlight.from_dict(_item) for _item in obj["highlights"]]
289294
if obj.get("highlights") is not None

0 commit comments

Comments
 (0)