/**
* Copyright (c) <2013> <Radware Ltd.> and others. All rights reserved.
*
* This program and the accompanying materials are made available under the terms of the Eclipse Public License
* v1.0 which accompanies this distribution, and is available at http://www.eclipse.org/legal/epl-v10.html
* @author Gera Goft
* @version 0.1
*/
package org.opendaylight.defense4all.odl.pojos;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonProperty;
@JsonIgnoreProperties(ignoreUnknown = true)
public class SentNode {
@JsonProperty("id")
public Object id;
@JsonProperty("type")
public String type; // "OF" (openflow), "PE" (pcep), "PK" (onepk), "PR" (production)
public SentNode() {this.id = null; this.type = null;}
public SentNode(Object id, String type) {this.id = id; this.type = type;}
public String getType() {return this.type;}
public void setType(String type) {this.type = type;}
public Object getId() {return this.id;}
public void setId(Object id) {this.id = id;}
@Override
public String toString() {
return "Node [" + id.toString() + ":" + type + "]";
}
}