Skip to content

Commit d67f471

Browse files
authored
feat(baremetal): expose max bandwidth (#1280)
1 parent 2383bfe commit d67f471

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

packages/clients/src/api/baremetal/v1/marshalling.gen.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -215,6 +215,7 @@ export const unmarshalOffer = (data: unknown): Offer => {
215215
fee: data.fee ? unmarshalMoney(data.fee) : undefined,
216216
id: data.id,
217217
incompatibleOsIds: data.incompatible_os_ids,
218+
maxBandwidth: data.max_bandwidth,
218219
memories: unmarshalArrayOfObject(data.memories, unmarshalMemory),
219220
name: data.name,
220221
operationPath: data.operation_path,

packages/clients/src/api/baremetal/v1/types.gen.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -254,6 +254,11 @@ export interface Offer {
254254
stock: OfferStock
255255
/** Public bandwidth available (in bits/s) with the offer. */
256256
bandwidth: number
257+
/**
258+
* Maximum public bandwidth available (in bits/s) depending on available
259+
* options.
260+
*/
261+
maxBandwidth: number
257262
/** Commercial range of the offer. */
258263
commercialRange: string
259264
/**

0 commit comments

Comments
 (0)