package org.ovirt.engine.core.utils.serialization.json;

import org.codehaus.jackson.annotate.JsonIgnore;
import org.codehaus.jackson.annotate.JsonTypeInfo;
import org.codehaus.jackson.annotate.JsonTypeInfo.As;
import org.codehaus.jackson.annotate.JsonTypeInfo.Id;
import org.ovirt.engine.core.common.action.AddVmFromTemplateParameters;
import org.ovirt.engine.core.common.queries.ValueObjectMap;

@SuppressWarnings("serial")
@JsonTypeInfo(use = Id.CLASS, include = As.PROPERTY)
public abstract class JsonAddVmFromTemplateParametersMixIn extends AddVmFromTemplateParameters {

    @JsonIgnore
    @Override
    public abstract ValueObjectMap getSerializedDiskInfoList();
}

@@ -50,16 +50,39 @@
 .json;%0A%0A
+import java.util.Map;%0A%0A
 import o
@@ -122,16 +122,16 @@
 Ignore;%0A
-
 import o
@@ -353,16 +353,84 @@
 meters;%0A
+import org.ovirt.engine.core.common.businessentities.DiskImageBase;%0A
 import o
@@ -691,16 +691,16 @@
 verride%0A
-
     publ
@@ -754,11 +754,108 @@
 oList();
+%0A%0A    @JsonIgnore%0A    @Override%0A    public abstract Map%3CString, DiskImageBase%3E getDiskInfoList();
 %0A%7D%0A

Fix AddVmFromTemplateParam desirialization error