Merge "Implement basic ShardTransactionChain#CloseTransactionChain"
[controller.git] / opendaylight / md-sal / sal-rest-docgen / src / main / java / org / opendaylight / controller / sal / rest / doc / swagger / ResponseMessage.java
1 /*
2  * Copyright (c) 2014 Cisco Systems, Inc. and others.  All rights reserved.
3  *
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
7  */
8 package org.opendaylight.controller.sal.rest.doc.swagger;
9
10 /**
11  * Implementation of swagger spec (see <a href=
12  * "https://github.com/wordnik/swagger-spec/blob/master/versions/1.2.md#525-response-message-object"
13  * > https://github.com/wordnik/swagger-spec/blob/master/versions/1.2.md#525-
14  * response-message-object</a>)
15  */
16 public class ResponseMessage {
17     private int code;
18     private String message;
19
20     public int getCode() {
21         return code;
22     }
23
24     public void setCode(int code) {
25         this.code = code;
26     }
27
28     public String getMessage() {
29         return message;
30     }
31
32     public void setMessage(String message) {
33         this.message = message;
34     }
35 }