diff --git a/CHANGELOG.md b/CHANGELOG.md index ecf773226..679e6d312 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,8 +1,11 @@ ## Release (2025-MM-DD) - `iaas`: [v0.30.0](services/iaas/CHANGELOG.md#v0300) - **Feature:** Add waiter to wait until the preconditions for network area deletion are met: `ReadyForNetworkAreaDeletionWaitHandler` -- `stackitmarketplace`: [v1.10.0](services/stackitmarketplace/CHANGELOG.md#v1100) - - **Feature:** Added `PlanId` to `CatalogProductPricingOption`and `SubscriptionProduct` +- `stackitmarketplace`: + - [v1.11.0](services/stackitmarketplace/CHANGELOG.md#v1110) + - **Feature:** Add new field `DemoUrl` to `CatalogProductDetail` model + - [v1.10.0](services/stackitmarketplace/CHANGELOG.md#v1100) + - **Feature:** Added `PlanId` to `CatalogProductPricingOption` and `SubscriptionProduct` diff --git a/services/stackitmarketplace/CHANGELOG.md b/services/stackitmarketplace/CHANGELOG.md index 2cb02bc49..1e655dea9 100644 --- a/services/stackitmarketplace/CHANGELOG.md +++ b/services/stackitmarketplace/CHANGELOG.md @@ -1,5 +1,8 @@ +## v1.11.0 +- **Feature:** Add new field `DemoUrl` to `CatalogProductDetail` model + ## v1.10.0 -- **Feature:** Added `PlanId` to `CatalogProductPricingOption`and `SubscriptionProduct` +- **Feature:** Added `PlanId` to `CatalogProductPricingOption` and `SubscriptionProduct` ## v1.9.0 - **Feature:** Added `RequestPrivatePlan` to `InquiriesCreateInquiryPayload` diff --git a/services/stackitmarketplace/VERSION b/services/stackitmarketplace/VERSION index e1e35526c..285cea5d1 100644 --- a/services/stackitmarketplace/VERSION +++ b/services/stackitmarketplace/VERSION @@ -1 +1 @@ -v1.10.0 \ No newline at end of file +v1.11.0 \ No newline at end of file diff --git a/services/stackitmarketplace/model_catalog_product_detail.go b/services/stackitmarketplace/model_catalog_product_detail.go index f05fd1ada..f7cd38379 100644 --- a/services/stackitmarketplace/model_catalog_product_detail.go +++ b/services/stackitmarketplace/model_catalog_product_detail.go @@ -77,6 +77,27 @@ func setCatalogProductDetailGetDeliveryMethodAttributeType(arg *CatalogProductDe *arg = &val } +/* + types and functions for demoUrl +*/ + +// isNotNullableString +type CatalogProductDetailGetDemoUrlAttributeType = *string + +func getCatalogProductDetailGetDemoUrlAttributeTypeOk(arg CatalogProductDetailGetDemoUrlAttributeType) (ret CatalogProductDetailGetDemoUrlRetType, ok bool) { + if arg == nil { + return ret, false + } + return *arg, true +} + +func setCatalogProductDetailGetDemoUrlAttributeType(arg *CatalogProductDetailGetDemoUrlAttributeType, val CatalogProductDetailGetDemoUrlRetType) { + *arg = &val +} + +type CatalogProductDetailGetDemoUrlArgType = string +type CatalogProductDetailGetDemoUrlRetType = string + /* types and functions for description */ @@ -473,6 +494,8 @@ type CatalogProductDetail struct { Categories CatalogProductDetailGetCategoriesAttributeType `json:"categories,omitempty"` // REQUIRED DeliveryMethod CatalogProductDetailGetDeliveryMethodAttributeType `json:"deliveryMethod" required:"true"` + // Uniform Resource Locator. + DemoUrl CatalogProductDetailGetDemoUrlAttributeType `json:"demoUrl,omitempty"` // The product description. // REQUIRED Description CatalogProductDetailGetDescriptionAttributeType `json:"description" required:"true"` @@ -617,6 +640,29 @@ func (o *CatalogProductDetail) SetDeliveryMethod(v CatalogProductDetailGetDelive setCatalogProductDetailGetDeliveryMethodAttributeType(&o.DeliveryMethod, v) } +// GetDemoUrl returns the DemoUrl field value if set, zero value otherwise. +func (o *CatalogProductDetail) GetDemoUrl() (res CatalogProductDetailGetDemoUrlRetType) { + res, _ = o.GetDemoUrlOk() + return +} + +// GetDemoUrlOk returns a tuple with the DemoUrl field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *CatalogProductDetail) GetDemoUrlOk() (ret CatalogProductDetailGetDemoUrlRetType, ok bool) { + return getCatalogProductDetailGetDemoUrlAttributeTypeOk(o.DemoUrl) +} + +// HasDemoUrl returns a boolean if a field has been set. +func (o *CatalogProductDetail) HasDemoUrl() bool { + _, ok := o.GetDemoUrlOk() + return ok +} + +// SetDemoUrl gets a reference to the given string and assigns it to the DemoUrl field. +func (o *CatalogProductDetail) SetDemoUrl(v CatalogProductDetailGetDemoUrlRetType) { + setCatalogProductDetailGetDemoUrlAttributeType(&o.DemoUrl, v) +} + // GetDescription returns the Description field value func (o *CatalogProductDetail) GetDescription() (ret CatalogProductDetailGetDescriptionRetType) { ret, _ = o.GetDescriptionOk() @@ -993,6 +1039,9 @@ func (o CatalogProductDetail) ToMap() (map[string]interface{}, error) { if val, ok := getCatalogProductDetailGetDeliveryMethodAttributeTypeOk(o.DeliveryMethod); ok { toSerialize["DeliveryMethod"] = val } + if val, ok := getCatalogProductDetailGetDemoUrlAttributeTypeOk(o.DemoUrl); ok { + toSerialize["DemoUrl"] = val + } if val, ok := getCatalogProductDetailGetDescriptionAttributeTypeOk(o.Description); ok { toSerialize["Description"] = val }