Skip to content

Commit a38963c

Browse files
feat(instance): updated data field and new RPC (#2411)
Co-authored-by: Jonathan R. <[email protected]>
1 parent 05b2f56 commit a38963c

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

packages_generated/instance/src/v1/marshalling.gen.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -157,6 +157,7 @@ export const unmarshalPrivateNIC = (data: unknown): PrivateNIC => {
157157
}
158158

159159
return {
160+
creationDate: unmarshalDate(data.creation_date),
160161
id: data.id,
161162
macAddress: data.mac_address,
162163
privateNetworkId: data.private_network_id,
@@ -2260,6 +2261,7 @@ const marshalPrivateNIC = (
22602261
request: PrivateNIC,
22612262
defaults: DefaultValues,
22622263
): Record<string, unknown> => ({
2264+
creation_date: request.creationDate,
22632265
id: request.id,
22642266
mac_address: request.macAddress,
22652267
private_network_id: request.privateNetworkId,

packages_generated/instance/src/v1/types.gen.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -334,6 +334,10 @@ export interface PrivateNIC {
334334
* Private NIC tags.
335335
*/
336336
tags: string[]
337+
/**
338+
* Private NIC creation date.
339+
*/
340+
creationDate?: Date
337341
}
338342

339343
export interface SecurityGroupSummary {

0 commit comments

Comments
 (0)