2 * Copyright (C) 2014 Cisco Systems, Inc.
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 * Authors : Thomas Bachman
10 package org.opendaylight.groupbasedpolicy.renderer.opflex.lib.messages;
12 import org.opendaylight.groupbasedpolicy.jsonrpc.RpcMessage;
14 import com.fasterxml.jackson.annotation.JsonIgnore;
15 import com.fasterxml.jackson.databind.JsonNode;
16 import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
17 import com.fasterxml.jackson.databind.annotation.JsonSerialize;
21 public class EndpointUnresolveResponse extends RpcMessage {
22 public static final String EPP_UNRESOLVE_MESSAGE_RESPONSE = "endpoint_unresolve_response";
24 static public class Result {
29 private Result result;
30 private OpflexError error;
35 private String method;
38 public JsonNode getId() {
43 public void setId(JsonNode id) {
47 public OpflexError getError() {
51 public void setError(OpflexError error) {
56 public String getMethod() {
61 public void setMethod(String method) {
64 public Result getResult() {
68 public void setResult(Result result) {
73 public String getName() {
78 public void setName(String name) {
82 public EndpointUnresolveResponse(String name) {
86 public EndpointUnresolveResponse() {
87 this.name = EPP_UNRESOLVE_MESSAGE_RESPONSE;
91 public boolean valid() {