15
15
*/
16
16
17
17
/*
18
- * IBM OpenAPI SDK Code Generator Version: 3.99.1-daeb6e46-20250131-173156
18
+ * IBM OpenAPI SDK Code Generator Version: 3.101.0-62624c1e-20250225-192301
19
19
*/
20
20
21
21
// Package partnercentersellv1 : Operations and models for the PartnerCenterSellV1 service
@@ -1158,9 +1158,6 @@ func (partnerCenterSell *PartnerCenterSellV1) CreateCatalogPlanWithContext(ctx c
1158
1158
if createCatalogPlanOptions .Kind != nil {
1159
1159
body ["kind" ] = createCatalogPlanOptions .Kind
1160
1160
}
1161
- if createCatalogPlanOptions .Tags != nil {
1162
- body ["tags" ] = createCatalogPlanOptions .Tags
1163
- }
1164
1161
if createCatalogPlanOptions .ObjectProvider != nil {
1165
1162
body ["object_provider" ] = createCatalogPlanOptions .ObjectProvider
1166
1163
}
@@ -1173,6 +1170,9 @@ func (partnerCenterSell *PartnerCenterSellV1) CreateCatalogPlanWithContext(ctx c
1173
1170
if createCatalogPlanOptions .OverviewUi != nil {
1174
1171
body ["overview_ui" ] = createCatalogPlanOptions .OverviewUi
1175
1172
}
1173
+ if createCatalogPlanOptions .Tags != nil {
1174
+ body ["tags" ] = createCatalogPlanOptions .Tags
1175
+ }
1176
1176
if createCatalogPlanOptions .PricingTags != nil {
1177
1177
body ["pricing_tags" ] = createCatalogPlanOptions .PricingTags
1178
1178
}
@@ -1497,9 +1497,6 @@ func (partnerCenterSell *PartnerCenterSellV1) CreateCatalogDeploymentWithContext
1497
1497
if createCatalogDeploymentOptions .Kind != nil {
1498
1498
body ["kind" ] = createCatalogDeploymentOptions .Kind
1499
1499
}
1500
- if createCatalogDeploymentOptions .Tags != nil {
1501
- body ["tags" ] = createCatalogDeploymentOptions .Tags
1502
- }
1503
1500
if createCatalogDeploymentOptions .ObjectProvider != nil {
1504
1501
body ["object_provider" ] = createCatalogDeploymentOptions .ObjectProvider
1505
1502
}
@@ -1512,6 +1509,9 @@ func (partnerCenterSell *PartnerCenterSellV1) CreateCatalogDeploymentWithContext
1512
1509
if createCatalogDeploymentOptions .OverviewUi != nil {
1513
1510
body ["overview_ui" ] = createCatalogDeploymentOptions .OverviewUi
1514
1511
}
1512
+ if createCatalogDeploymentOptions .Tags != nil {
1513
+ body ["tags" ] = createCatalogDeploymentOptions .Tags
1514
+ }
1515
1515
if createCatalogDeploymentOptions .Metadata != nil {
1516
1516
body ["metadata" ] = createCatalogDeploymentOptions .Metadata
1517
1517
}
@@ -3237,10 +3237,6 @@ type CreateCatalogDeploymentOptions struct {
3237
3237
// The kind of the global catalog object.
3238
3238
Kind * string `json:"kind" validate:"required"`
3239
3239
3240
- // A list of tags that carry information about your product. These tags can be used to find your product in the IBM
3241
- // Cloud catalog.
3242
- Tags []string `json:"tags" validate:"required"`
3243
-
3244
3240
// The provider or owner of the product.
3245
3241
ObjectProvider * CatalogProductProvider `json:"object_provider" validate:"required"`
3246
3242
@@ -3253,6 +3249,10 @@ type CreateCatalogDeploymentOptions struct {
3253
3249
// The object that contains the service details from the Overview page in global catalog.
3254
3250
OverviewUi * GlobalCatalogOverviewUI `json:"overview_ui,omitempty"`
3255
3251
3252
+ // A list of tags that carry information about your product. These tags can be used to find your product in the IBM
3253
+ // Cloud catalog.
3254
+ Tags []string `json:"tags,omitempty"`
3255
+
3256
3256
// Global catalog deployment metadata.
3257
3257
Metadata * GlobalCatalogDeploymentMetadataPrototypePatch `json:"metadata,omitempty"`
3258
3258
@@ -3270,7 +3270,7 @@ const (
3270
3270
)
3271
3271
3272
3272
// NewCreateCatalogDeploymentOptions : Instantiate CreateCatalogDeploymentOptions
3273
- func (* PartnerCenterSellV1 ) NewCreateCatalogDeploymentOptions (productID string , catalogProductID string , catalogPlanID string , name string , active bool , disabled bool , kind string , tags [] string , objectProvider * CatalogProductProvider ) * CreateCatalogDeploymentOptions {
3273
+ func (* PartnerCenterSellV1 ) NewCreateCatalogDeploymentOptions (productID string , catalogProductID string , catalogPlanID string , name string , active bool , disabled bool , kind string , objectProvider * CatalogProductProvider ) * CreateCatalogDeploymentOptions {
3274
3274
return & CreateCatalogDeploymentOptions {
3275
3275
ProductID : core .StringPtr (productID ),
3276
3276
CatalogProductID : core .StringPtr (catalogProductID ),
@@ -3279,7 +3279,6 @@ func (*PartnerCenterSellV1) NewCreateCatalogDeploymentOptions(productID string,
3279
3279
Active : core .BoolPtr (active ),
3280
3280
Disabled : core .BoolPtr (disabled ),
3281
3281
Kind : core .StringPtr (kind ),
3282
- Tags : tags ,
3283
3282
ObjectProvider : objectProvider ,
3284
3283
}
3285
3284
}
@@ -3326,12 +3325,6 @@ func (_options *CreateCatalogDeploymentOptions) SetKind(kind string) *CreateCata
3326
3325
return _options
3327
3326
}
3328
3327
3329
- // SetTags : Allow user to set Tags
3330
- func (_options * CreateCatalogDeploymentOptions ) SetTags (tags []string ) * CreateCatalogDeploymentOptions {
3331
- _options .Tags = tags
3332
- return _options
3333
- }
3334
-
3335
3328
// SetObjectProvider : Allow user to set ObjectProvider
3336
3329
func (_options * CreateCatalogDeploymentOptions ) SetObjectProvider (objectProvider * CatalogProductProvider ) * CreateCatalogDeploymentOptions {
3337
3330
_options .ObjectProvider = objectProvider
@@ -3356,6 +3349,12 @@ func (_options *CreateCatalogDeploymentOptions) SetOverviewUi(overviewUi *Global
3356
3349
return _options
3357
3350
}
3358
3351
3352
+ // SetTags : Allow user to set Tags
3353
+ func (_options * CreateCatalogDeploymentOptions ) SetTags (tags []string ) * CreateCatalogDeploymentOptions {
3354
+ _options .Tags = tags
3355
+ return _options
3356
+ }
3357
+
3359
3358
// SetMetadata : Allow user to set Metadata
3360
3359
func (_options * CreateCatalogDeploymentOptions ) SetMetadata (metadata * GlobalCatalogDeploymentMetadataPrototypePatch ) * CreateCatalogDeploymentOptions {
3361
3360
_options .Metadata = metadata
@@ -3395,10 +3394,6 @@ type CreateCatalogPlanOptions struct {
3395
3394
// The kind of the global catalog object.
3396
3395
Kind * string `json:"kind" validate:"required"`
3397
3396
3398
- // A list of tags that carry information about your product. These tags can be used to find your product in the IBM
3399
- // Cloud catalog.
3400
- Tags []string `json:"tags" validate:"required"`
3401
-
3402
3397
// The provider or owner of the product.
3403
3398
ObjectProvider * CatalogProductProvider `json:"object_provider" validate:"required"`
3404
3399
@@ -3411,6 +3406,10 @@ type CreateCatalogPlanOptions struct {
3411
3406
// The object that contains the service details from the Overview page in global catalog.
3412
3407
OverviewUi * GlobalCatalogOverviewUI `json:"overview_ui,omitempty"`
3413
3408
3409
+ // A list of tags that carry information about your product. These tags can be used to find your product in the IBM
3410
+ // Cloud catalog.
3411
+ Tags []string `json:"tags,omitempty"`
3412
+
3414
3413
// A list of tags that carry information about the pricing information of your product.
3415
3414
PricingTags []string `json:"pricing_tags,omitempty"`
3416
3415
@@ -3431,15 +3430,14 @@ const (
3431
3430
)
3432
3431
3433
3432
// NewCreateCatalogPlanOptions : Instantiate CreateCatalogPlanOptions
3434
- func (* PartnerCenterSellV1 ) NewCreateCatalogPlanOptions (productID string , catalogProductID string , name string , active bool , disabled bool , kind string , tags [] string , objectProvider * CatalogProductProvider ) * CreateCatalogPlanOptions {
3433
+ func (* PartnerCenterSellV1 ) NewCreateCatalogPlanOptions (productID string , catalogProductID string , name string , active bool , disabled bool , kind string , objectProvider * CatalogProductProvider ) * CreateCatalogPlanOptions {
3435
3434
return & CreateCatalogPlanOptions {
3436
3435
ProductID : core .StringPtr (productID ),
3437
3436
CatalogProductID : core .StringPtr (catalogProductID ),
3438
3437
Name : core .StringPtr (name ),
3439
3438
Active : core .BoolPtr (active ),
3440
3439
Disabled : core .BoolPtr (disabled ),
3441
3440
Kind : core .StringPtr (kind ),
3442
- Tags : tags ,
3443
3441
ObjectProvider : objectProvider ,
3444
3442
}
3445
3443
}
@@ -3480,12 +3478,6 @@ func (_options *CreateCatalogPlanOptions) SetKind(kind string) *CreateCatalogPla
3480
3478
return _options
3481
3479
}
3482
3480
3483
- // SetTags : Allow user to set Tags
3484
- func (_options * CreateCatalogPlanOptions ) SetTags (tags []string ) * CreateCatalogPlanOptions {
3485
- _options .Tags = tags
3486
- return _options
3487
- }
3488
-
3489
3481
// SetObjectProvider : Allow user to set ObjectProvider
3490
3482
func (_options * CreateCatalogPlanOptions ) SetObjectProvider (objectProvider * CatalogProductProvider ) * CreateCatalogPlanOptions {
3491
3483
_options .ObjectProvider = objectProvider
@@ -3510,6 +3502,12 @@ func (_options *CreateCatalogPlanOptions) SetOverviewUi(overviewUi *GlobalCatalo
3510
3502
return _options
3511
3503
}
3512
3504
3505
+ // SetTags : Allow user to set Tags
3506
+ func (_options * CreateCatalogPlanOptions ) SetTags (tags []string ) * CreateCatalogPlanOptions {
3507
+ _options .Tags = tags
3508
+ return _options
3509
+ }
3510
+
3513
3511
// SetPricingTags : Allow user to set PricingTags
3514
3512
func (_options * CreateCatalogPlanOptions ) SetPricingTags (pricingTags []string ) * CreateCatalogPlanOptions {
3515
3513
_options .PricingTags = pricingTags
0 commit comments