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;
12 import org.opendaylight.groupbasedpolicy.jsonrpc.RpcMessage;
14 import com.fasterxml.jackson.annotation.JsonIgnore;
15 import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
16 import com.fasterxml.jackson.databind.annotation.JsonSerialize;
20 public class EndpointPolicyUpdateResponse extends RpcMessage {
22 public static final String POLICY_UPDATE_MESSAGE_RESPONSE = "endpoint_update_policy_response";
24 static public class Result {
26 static public class Error {
27 private String message;
29 public String getMessage() {
33 public void setMessage(String message) {
34 this.message = message;
38 private Result result;
44 private String method;
47 public String getId() {
52 public void setId(String id) {
56 public Error getError() {
60 public void setError(Error error) {
65 public String getMethod() {
70 public void setMethod(String method) {
73 public Result getResult() {
77 public void setResult(Result result) {
81 public EndpointPolicyUpdateResponse(String name) {
85 public EndpointPolicyUpdateResponse() {
86 this.name = POLICY_UPDATE_MESSAGE_RESPONSE;
90 public String getName() {
95 public void setName(String name) {