Skip to content

Commit f4750f5

Browse files
authored
feat(product_catalog): add offer ID in the public/admin catalog API (scaleway#2681)
1 parent d24172b commit f4750f5

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

api/product_catalog/v2alpha1/product_catalog_sdk.go

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -406,6 +406,9 @@ type PublicCatalogProductPropertiesHardwareStorage struct {
406406
type PublicCatalogProductPropertiesAppleSilicon struct {
407407
// Range: the range of the Apple Silicon server.
408408
Range string `json:"range"`
409+
410+
// ServerType: the server type of the Apple Silicon server.
411+
ServerType string `json:"server_type"`
409412
}
410413

411414
// PublicCatalogProductPropertiesBlockStorage: public catalog product properties block storage.
@@ -421,12 +424,18 @@ type PublicCatalogProductPropertiesBlockStorage struct {
421424
type PublicCatalogProductPropertiesDedibox struct {
422425
// Range: the range of the Dedibox server.
423426
Range string `json:"range"`
427+
428+
// OfferID: the offer ID of the Dedibox server.
429+
OfferID int64 `json:"offer_id"`
424430
}
425431

426432
// PublicCatalogProductPropertiesElasticMetal: public catalog product properties elastic metal.
427433
type PublicCatalogProductPropertiesElasticMetal struct {
428434
// Range: the range of the Elastic Metal server.
429435
Range string `json:"range"`
436+
437+
// OfferID: the offer ID of the Elastic Metal server.
438+
OfferID string `json:"offer_id"`
430439
}
431440

432441
// PublicCatalogProductPropertiesHardware: public catalog product properties hardware.

0 commit comments

Comments
 (0)