package org.ovirt.engine.core.common.vdscommands;

import java.util.Collections;
import java.util.List;

import org.ovirt.engine.core.common.businessentities.VDS;
import org.ovirt.engine.core.common.businessentities.network.VdsNetworkInterface;

public class CollectHostNetworkDataVdsCommandParameters extends VdsIdAndVdsVDSCommandParametersBase {

    private List<VdsNetworkInterface> nics;

    public CollectHostNetworkDataVdsCommandParameters() {
    }

    public CollectHostNetworkDataVdsCommandParameters(VDS vds) {
        super(vds);
        nics = Collections.emptyList();
    }

    public CollectHostNetworkDataVdsCommandParameters(VDS vds, List<VdsNetworkInterface> nics) {
        super(vds);
        this.nics = nics;
    }

    public List<VdsNetworkInterface> getInterfaces() {
        return nics;
    }
}

@@ -55,193 +55,57 @@
 ort 
-java.util.Collections;%0Aimport java.util.List;%0A%0Aimport org.ovirt.engine.core.common.businessentities.VDS;%0Aimport org.ovirt.engine.core.common.businessentities.network.VdsNetworkInterface
+org.ovirt.engine.core.common.businessentities.VDS
 ;%0A%0Ap
@@ -210,53 +210,8 @@
  %7B%0A%0A
-    private List%3CVdsNetworkInterface%3E nics;%0A%0A
     
@@ -332,24 +332,24 @@
 (VDS vds) %7B%0A
+
         supe
@@ -360,281 +360,8 @@
 s);%0A
-        nics = Collections.emptyList();%0A    %7D%0A%0A    public CollectHostNetworkDataVdsCommandParameters(VDS vds, List%3CVdsNetworkInterface%3E nics) %7B%0A        super(vds);%0A        this.nics = nics;%0A    %7D%0A%0A    public List%3CVdsNetworkInterface%3E getInterfaces() %7B%0A        return nics;%0A
     

Remove nics from CollectHostNetworkDataVdsCommandParameters