2 * Copyright (c) 2017 Cisco Systems. All rights reserved.
4 * This program and the accompanying materials are made available under the
5 * terms of the Eclipse Public License v1.0 which accompanies this distribution,
6 * and is available at http://www.eclipse.org/legal/epl-v10.html
8 package org.opendaylight.groupbasedpolicy.renderer.vpp.commands.lisp.dom;
10 import org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.gpe.rev170801.gpe.feature.data.grouping.GpeFeatureData;
11 import org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.gpe.rev170801.gpe.feature.data.grouping.GpeFeatureDataBuilder;
13 public class GpeEnableDom implements CommandModel {
14 private boolean enabled;
16 public boolean isEnabled() {
20 public void setEnabled(boolean enabled) {
21 this.enabled = enabled;
25 public GpeFeatureData getSALObject() {
26 return new GpeFeatureDataBuilder().setEnable(enabled).build();
29 @Override public String toString() {
30 return "GpeEnable{" + "enabled=" + enabled + '}';