From cdf022a9166497cbf9e7a8749905550dc16a9773 Mon Sep 17 00:00:00 2001 From: "equinix-labs@auto-commit-workflow" Date: Mon, 30 Sep 2024 14:42:23 +0000 Subject: [PATCH] Auto commit generated client changes - Mon Sep 30 14:42:23 UTC 2024 --- .../src/main/java/com/equinix/openapi/fabric/JSON.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/JSON.java b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/JSON.java index 6bacc54..75fff56 100644 --- a/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/JSON.java +++ b/equinix-openapi-fabric/src/main/java/com/equinix/openapi/fabric/JSON.java @@ -13,6 +13,7 @@ import com.equinix.openapi.fabric.v4.model.PortDeviceRedundancy; import com.equinix.openapi.fabric.v4.model.PortEncapsulation; +import com.equinix.openapi.fabric.v4.model.PortPriority; import com.fasterxml.jackson.databind.util.StdDateFormat; import com.google.gson.Gson; import com.google.gson.GsonBuilder; @@ -431,6 +432,7 @@ public Enum deserialize(JsonElement json, java.lang.reflect.Type type, JsonDeser gsonBuilder.registerTypeAdapterFactory(new com.equinix.openapi.fabric.v4.model.VpicInterface.CustomTypeAdapterFactory()); gsonBuilder.registerTypeAdapter(PortEncapsulation.TypeEnum.class,new UppercaseEnumAdapter()); gsonBuilder.registerTypeAdapter(PortDeviceRedundancy.PriorityEnum.class,new UppercaseEnumAdapter()); + gsonBuilder.registerTypeAdapter(PortPriority.class, new UppercaseEnumAdapter()); gson = gsonBuilder.setPrettyPrinting().create(); }