Implement basic ShardTransactionChain#CloseTransactionChain
[controller.git] / opendaylight / md-sal / sal-rest-docgen / src / main / java / org / opendaylight / controller / sal / rest / doc / swagger / ResourceList.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
14  * (see <a href="https://github.com/wordnik/swagger-spec/blob/master/versions/1.2.md#51-resource-listing">
15  *   https://github.com/wordnik/swagger-spec/blob/master/versions/1.2.md#51-resource-listing</a>)
16  */
17 public class ResourceList {
18   private String apiVersion;
19   private String swaggerVersion;
20   private List<Resource> apis;
21
22   public String getApiVersion() {
23     return apiVersion;
24   }
25
26   public void setApiVersion(String apiVersion) {
27     this.apiVersion = apiVersion;
28   }
29
30   public String getSwaggerVersion() {
31     return swaggerVersion;
32   }
33
34   public void setSwaggerVersion(String swaggerVersion) {
35     this.swaggerVersion = swaggerVersion;
36   }
37
38   public List<Resource> getApis() {
39     return apis;
40   }
41
42   public void setApis(List<Resource> apis) {
43     this.apis = apis;
44   }
45 }