Moti Asayag has uploaded a new change for review. Change subject: core: Add parameter class for vnic profile commands ......................................................................
core: Add parameter class for vnic profile commands The class will be using for vnic profile actions, e.g.: adding/updating/removing a vnic profile. Change-Id: Ia98a96e4413f1b9cbc7012c2e2fc6da70a4027e4 Signed-off-by: Moti Asayag <[email protected]> --- A backend/manager/modules/common/src/main/java/org/ovirt/engine/core/common/action/VnicProfileParameters.java 1 file changed, 37 insertions(+), 0 deletions(-) git pull ssh://gerrit.ovirt.org:29418/ovirt-engine refs/changes/71/16671/1 diff --git a/backend/manager/modules/common/src/main/java/org/ovirt/engine/core/common/action/VnicProfileParameters.java b/backend/manager/modules/common/src/main/java/org/ovirt/engine/core/common/action/VnicProfileParameters.java new file mode 100644 index 0000000..bcfb5b1 --- /dev/null +++ b/backend/manager/modules/common/src/main/java/org/ovirt/engine/core/common/action/VnicProfileParameters.java @@ -0,0 +1,37 @@ +package org.ovirt.engine.core.common.action; + +import javax.validation.Valid; + +import org.ovirt.engine.core.common.businessentities.network.VnicProfile; + +public class VnicProfileParameters extends VdcActionParametersBase { + + private static final long serialVersionUID = 7238781812367042839L; + + @Valid + private VnicProfile vnicProfile; + private boolean publicUse; + + public VnicProfileParameters() { + } + + public VnicProfileParameters(VnicProfile vnicProfile) { + this.vnicProfile = vnicProfile; + } + + public VnicProfile getVnicProfile() { + return vnicProfile; + } + + public void setVnicProfile(VnicProfile vnicProfile) { + this.vnicProfile = vnicProfile; + } + + public boolean isPublicUse() { + return publicUse; + } + + public void setPublicUse(boolean publicUse) { + this.publicUse = publicUse; + } +} -- To view, visit http://gerrit.ovirt.org/16671 To unsubscribe, visit http://gerrit.ovirt.org/settings Gerrit-MessageType: newchange Gerrit-Change-Id: Ia98a96e4413f1b9cbc7012c2e2fc6da70a4027e4 Gerrit-PatchSet: 1 Gerrit-Project: ovirt-engine Gerrit-Branch: master Gerrit-Owner: Moti Asayag <[email protected]> _______________________________________________ Engine-patches mailing list [email protected] http://lists.ovirt.org/mailman/listinfo/engine-patches
