Merge "Implement basic ShardTransactionChain#CloseTransactionChain"
[controller.git] / opendaylight / md-sal / sal-rest-docgen / src / main / java / org / opendaylight / controller / sal / rest / doc / swagger / Api.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 import java.util.List;
11
12 /**
13  * Implementation of swagger spec (see <a href=
14  * "https://github.com/wordnik/swagger-spec/blob/master/versions/1.2.md#522-api-object"
15  * > https://github.com/wordnik/swagger-spec/blob/master/versions/1.2.md#522-api
16  * -object</a>)
17  */
18 public class Api {
19
20     private String path;
21     private List<Operation> operations;
22
23     public String getPath() {
24         return path;
25     }
26
27     public void setPath(String path) {
28         this.path = path;
29     }
30
31     public List<Operation> getOperations() {
32         return operations;
33     }
34
35     public void setOperations(List<Operation> operations) {
36         this.operations = operations;
37     }
38 }