package org.opennaas.extensions.router.opener.client.model;
/*
* #%L
* OpenNaaS :: Router :: Opener ActionSet
* %%
* Copyright (C) 2007 - 2014 FundaciĆ³ Privada i2CAT, Internet i InnovaciĆ³ a Catalunya
* %%
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
* #L%
*/
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;
@XmlRootElement(namespace = "http://www.craax.upc.edu/axis2/quagga_openapi")
@XmlAccessorType(XmlAccessType.FIELD)
public class Interface {
@XmlElement(name = "name")
private String name;
@XmlElement(name = "familytype")
private String familyType;
@XmlElement(name = "ip")
private IPData ip;
@XmlElement(name = "ip6")
private IPData ip6;
@XmlElement(name = "hardware-address")
private String hardwareAddress;
@XmlElement(name = "status")
private String status;
@XmlElement(name = "mtu")
private String mtu;
@XmlElement(name = "metric")
private String metric;
public String getName() {
return name;
}
public void setName(String name) {
this.name = name;
}
public String getFamilyType() {
return familyType;
}
public void setFamilyType(String familyType) {
this.familyType = familyType;
}
public IPData getIp() {
return ip;
}
public void setIp(IPData ip) {
this.ip = ip;
}
public IPData getIp6() {
return ip6;
}
public void setIp6(IPData ip6) {
this.ip6 = ip6;
}
public String getHardwareAddress() {
return hardwareAddress;
}
public void setHardwareAddress(String hardwareAddress) {
this.hardwareAddress = hardwareAddress;
}
public String getStatus() {
return status;
}
public void setStatus(String status) {
this.status = status;
}
public String getMtu() {
return mtu;
}
public void setMtu(String mtu) {
this.mtu = mtu;
}
public String getMetric() {
return metric;
}
public void setMetric(String metric) {
this.metric = metric;
}
}