From 19e87bd9f24f39c3846f2da807742e6175079068 Mon Sep 17 00:00:00 2001 From: SDK Generator Bot Date: Tue, 23 Sep 2025 16:22:34 +0000 Subject: [PATCH 1/2] Generate stackitmarketplace --- .../model_catalog_product_detail.go | 48 +++++++++++++++++++ 1 file changed, 48 insertions(+) diff --git a/services/stackitmarketplace/model_catalog_product_detail.go b/services/stackitmarketplace/model_catalog_product_detail.go index efdd14822..786806438 100644 --- a/services/stackitmarketplace/model_catalog_product_detail.go +++ b/services/stackitmarketplace/model_catalog_product_detail.go @@ -161,6 +161,26 @@ func setCatalogProductDetailGetEmailAttributeType(arg *CatalogProductDetailGetEm type CatalogProductDetailGetEmailArgType = string type CatalogProductDetailGetEmailRetType = string +/* + types and functions for hasDemo +*/ + +// isBoolean +type CatalogProductDetailgetHasDemoAttributeType = *bool +type CatalogProductDetailgetHasDemoArgType = bool +type CatalogProductDetailgetHasDemoRetType = bool + +func getCatalogProductDetailgetHasDemoAttributeTypeOk(arg CatalogProductDetailgetHasDemoAttributeType) (ret CatalogProductDetailgetHasDemoRetType, ok bool) { + if arg == nil { + return ret, false + } + return *arg, true +} + +func setCatalogProductDetailgetHasDemoAttributeType(arg *CatalogProductDetailgetHasDemoAttributeType, val CatalogProductDetailgetHasDemoRetType) { + *arg = &val +} + /* types and functions for highlights */ @@ -505,6 +525,8 @@ type CatalogProductDetail struct { DocumentationUrl CatalogProductDetailGetDocumentationUrlAttributeType `json:"documentationUrl" required:"true"` // A e-mail address. Email CatalogProductDetailGetEmailAttributeType `json:"email,omitempty"` + // If the product has a demoUrl available. + HasDemo CatalogProductDetailgetHasDemoAttributeType `json:"hasDemo,omitempty"` // The list of highlights. // REQUIRED Highlights CatalogProductDetailGetHighlightsAttributeType `json:"highlights" required:"true"` @@ -721,6 +743,29 @@ func (o *CatalogProductDetail) SetEmail(v CatalogProductDetailGetEmailRetType) { setCatalogProductDetailGetEmailAttributeType(&o.Email, v) } +// GetHasDemo returns the HasDemo field value if set, zero value otherwise. +func (o *CatalogProductDetail) GetHasDemo() (res CatalogProductDetailgetHasDemoRetType) { + res, _ = o.GetHasDemoOk() + return +} + +// GetHasDemoOk returns a tuple with the HasDemo field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *CatalogProductDetail) GetHasDemoOk() (ret CatalogProductDetailgetHasDemoRetType, ok bool) { + return getCatalogProductDetailgetHasDemoAttributeTypeOk(o.HasDemo) +} + +// HasHasDemo returns a boolean if a field has been set. +func (o *CatalogProductDetail) HasHasDemo() bool { + _, ok := o.GetHasDemoOk() + return ok +} + +// SetHasDemo gets a reference to the given bool and assigns it to the HasDemo field. +func (o *CatalogProductDetail) SetHasDemo(v CatalogProductDetailgetHasDemoRetType) { + setCatalogProductDetailgetHasDemoAttributeType(&o.HasDemo, v) +} + // GetHighlights returns the Highlights field value func (o *CatalogProductDetail) GetHighlights() (ret CatalogProductDetailGetHighlightsRetType) { ret, _ = o.GetHighlightsOk() @@ -1052,6 +1097,9 @@ func (o CatalogProductDetail) ToMap() (map[string]interface{}, error) { if val, ok := getCatalogProductDetailGetEmailAttributeTypeOk(o.Email); ok { toSerialize["Email"] = val } + if val, ok := getCatalogProductDetailgetHasDemoAttributeTypeOk(o.HasDemo); ok { + toSerialize["HasDemo"] = val + } if val, ok := getCatalogProductDetailGetHighlightsAttributeTypeOk(o.Highlights); ok { toSerialize["Highlights"] = val } From 0e44f4931601ee6e497731e111cb3baaa3469e3b Mon Sep 17 00:00:00 2001 From: Ruben Hoenle Date: Wed, 24 Sep 2025 16:50:27 +0200 Subject: [PATCH 2/2] add changelog entries --- CHANGELOG.md | 2 ++ services/git/CHANGELOG.md | 2 +- services/stackitmarketplace/CHANGELOG.md | 3 +++ services/stackitmarketplace/VERSION | 2 +- 4 files changed, 7 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index efd8cc3a6..98af7dbde 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,8 @@ - **Feature:** Add response `IntakeRunnerResponse` to `UpdateIntakeRunnerExecute` request - **Feature:** Add response `IntakeUserResponse` to `UpdateIntakeUserExecute` request - `stackitmarketplace`: + - [v1.13.0](services/stackitmarketplace/CHANGELOG.md#v1130) + - **Feature:** Add `HasDemo` field (type `*bool`) to `CatalogProductDetail` struct - [v1.12.0](services/stackitmarketplace/CHANGELOG.md#v1120) - **Breaking Change:** Change `Logo` field type from `*[]byte` to `*string` in `CatalogProductDetail`, `CatalogProductDetailsVendor`, and `CatalogProductOverview` models - [v1.11.0](services/stackitmarketplace/CHANGELOG.md#v1110) diff --git a/services/git/CHANGELOG.md b/services/git/CHANGELOG.md index e2c87fe56..75c6d7b40 100644 --- a/services/git/CHANGELOG.md +++ b/services/git/CHANGELOG.md @@ -1,5 +1,5 @@ ## v0.7.1 - - **Dependencies:** Bump `github.com/golang-jwt/jwt/v5` from `v5.2.2` to `v5.2.3` +- **Dependencies:** Bump `github.com/golang-jwt/jwt/v5` from `v5.2.2` to `v5.2.3` ## v0.7.0 - **Feature:** Add `Sku` field to `Flavors` model diff --git a/services/stackitmarketplace/CHANGELOG.md b/services/stackitmarketplace/CHANGELOG.md index 922527d68..211ada016 100644 --- a/services/stackitmarketplace/CHANGELOG.md +++ b/services/stackitmarketplace/CHANGELOG.md @@ -1,3 +1,6 @@ +## v1.13.0 +- **Feature:** Add `HasDemo` field (type `*bool`) to `CatalogProductDetail` struct + ## v1.12.0 - **Breaking Change:** Change `Logo` field type from `*[]byte` to `*string` in `CatalogProductDetail`, `CatalogProductDetailsVendor`, and `CatalogProductOverview` models diff --git a/services/stackitmarketplace/VERSION b/services/stackitmarketplace/VERSION index 13a15bd96..b28120462 100644 --- a/services/stackitmarketplace/VERSION +++ b/services/stackitmarketplace/VERSION @@ -1 +1 @@ -v1.12.0 \ No newline at end of file +v1.13.0