2 * Copyright (c) 2014 Cisco Systems, Inc. and others. All rights reserved.
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 package org.opendaylight.netconf.sal.rest.doc.swagger;
10 import java.util.List;
13 * Implementation of swagger spec (see <a href=
14 * "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-
16 * resource-listing</a>).
18 public class ResourceList {
19 private String apiVersion;
20 private String swaggerVersion;
21 private List<Resource> apis;
23 public String getApiVersion() {
27 public void setApiVersion(String apiVersion) {
28 this.apiVersion = apiVersion;
31 public String getSwaggerVersion() {
32 return swaggerVersion;
35 public void setSwaggerVersion(String swaggerVersion) {
36 this.swaggerVersion = swaggerVersion;
39 public List<Resource> getApis() {
43 public void setApis(List<Resource> apis) {