public class ApiDeclaration extends Object
| Constructor and Description |
|---|
ApiDeclaration(String swaggerVersion,
String apiVersion,
String basePath,
String resourcePath,
List<Api> apis,
Map<String,Model> models,
int priority,
String description) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
List<Api> |
getApis()
This gets the apis
|
String |
getApiVersion() |
String |
getBasePath() |
String |
getDescription()
This gets the description of this api declaration in a resource listing
|
Map<String,Model> |
getModels()
This gets the models
|
int |
getPriority()
This gets the priority of this api declaration in a resource listing
|
String |
getResourcePath() |
String |
getSwaggerVersion() |
int |
hashCode() |
void |
setApis(List<Api> apis)
This sets the apis
|
void |
setDescription(String description)
This sets the description
|
void |
setModels(Map<String,Model> models)
This sets the models
|
void |
setPriority(int priority)
This sets the priority
|
void |
setResourcePath(String resourcePath)
This sets the resourcePath
|
String |
toString() |
public String getApiVersion()
public String getSwaggerVersion()
public String getBasePath()
public String getResourcePath()
public void setResourcePath(String resourcePath)
resourcePath - the resourcePath to setpublic void setModels(Map<String,Model> models)
models - the models to setpublic int getPriority()
public String getDescription()
public void setPriority(int priority)
priority - the priority to setpublic void setDescription(String description)
description - the description to setpublic int hashCode()
hashCode in class ObjectObject.hashCode()public boolean equals(Object obj)
equals in class ObjectObject.equals(java.lang.Object)public String toString()
toString in class ObjectObject.toString()Copyright © 2015. All rights reserved.