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 75fff56..6bacc54 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,7 +13,6 @@ 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; @@ -432,7 +431,6 @@ 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(); }