From 721ce340fc925aa106654df4de666f5c3332e497 Mon Sep 17 00:00:00 2001 From: Mahesh N Date: Mon, 25 Mar 2024 19:41:06 +0530 Subject: [PATCH 1/2] Make NetworkInterfaceTypeID as jsonNumber --- pkg/models/instances.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/models/instances.go b/pkg/models/instances.go index d2ebd1e..ef450dd 100644 --- a/pkg/models/instances.go +++ b/pkg/models/instances.go @@ -265,7 +265,7 @@ type GetInstanceResponseInstanceInstanceType struct { type GetInstanceResponseInstanceInterfaces struct { ID interface{} `json:"id,omitempty"` Network *GetInstanceResponseInstanceNetwork `json:"network,omitempty"` - NetworkInterfaceTypeID int `json:"networkInterfaceTypeId,omitempty"` + NetworkInterfaceTypeID json.Number `json:"networkInterfaceTypeId,omitempty"` } // GetInstanceResponseInstanceLayout From 3782987872f9b08f9e23d299d869a0576f212aaf Mon Sep 17 00:00:00 2001 From: Mahesh N Date: Mon, 25 Mar 2024 19:42:24 +0530 Subject: [PATCH 2/2] copyright update --- pkg/models/instances.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/models/instances.go b/pkg/models/instances.go index ef450dd..e3d69d0 100644 --- a/pkg/models/instances.go +++ b/pkg/models/instances.go @@ -1,4 +1,4 @@ -// (C) Copyright 2021-2023 Hewlett Packard Enterprise Development LP +// (C) Copyright 2021-2024 Hewlett Packard Enterprise Development LP package models