@Generated(value="org.jsonschema2pojo") public class ApiDeclaration extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
ApiDeclaration.SwaggerVersion |
| Modifier and Type | Field and Description |
|---|---|
protected static Object |
NOT_FOUND_VALUE |
| Constructor and Description |
|---|
ApiDeclaration() |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
declaredProperty(String name,
Object value) |
protected Object |
declaredPropertyOrNotFound(String name,
Object notFoundValue) |
<T> T |
get(String name) |
List<Api> |
getApis()
(Required)
|
String |
getApiVersion() |
Authorizations_ |
getAuthorizations() |
URI |
getBasePath()
(Required)
|
Set<String> |
getConsumes() |
Models |
getModels() |
Set<String> |
getProduces() |
String |
getResourcePath() |
ApiDeclaration.SwaggerVersion |
getSwaggerVersion()
(Required)
|
void |
set(String name,
Object value) |
void |
setApis(List<Api> apis)
(Required)
|
void |
setApiVersion(String apiVersion) |
void |
setAuthorizations(Authorizations_ authorizations) |
void |
setBasePath(URI basePath)
(Required)
|
void |
setConsumes(Set<String> consumes) |
void |
setModels(Models models) |
void |
setProduces(Set<String> produces) |
void |
setResourcePath(String resourcePath) |
void |
setSwaggerVersion(ApiDeclaration.SwaggerVersion swaggerVersion)
(Required)
|
protected static final Object NOT_FOUND_VALUE
public ApiDeclaration.SwaggerVersion getSwaggerVersion()
public void setSwaggerVersion(ApiDeclaration.SwaggerVersion swaggerVersion)
swaggerVersion - The swaggerVersionpublic String getApiVersion()
public void setApiVersion(String apiVersion)
apiVersion - The apiVersionpublic URI getBasePath()
public void setBasePath(URI basePath)
basePath - The basePathpublic String getResourcePath()
public void setResourcePath(String resourcePath)
resourcePath - The resourcePathpublic Models getModels()
public void setModels(Models models)
models - The modelspublic Authorizations_ getAuthorizations()
public void setAuthorizations(Authorizations_ authorizations)
authorizations - The authorizationsprotected Object declaredPropertyOrNotFound(String name, Object notFoundValue)
public <T> T get(String name)
Copyright © 2011–2015 Red Hat. All rights reserved.