public class APIResponsesImpl extends ExtensibleTreeMap<org.eclipse.microprofile.openapi.models.responses.APIResponse,org.eclipse.microprofile.openapi.models.responses.APIResponses> implements org.eclipse.microprofile.openapi.models.responses.APIResponses
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>extensions| Constructor and Description |
|---|
APIResponsesImpl() |
APIResponsesImpl(Map<String,org.eclipse.microprofile.openapi.models.responses.APIResponse> responses) |
| Modifier and Type | Method and Description |
|---|---|
org.eclipse.microprofile.openapi.models.responses.APIResponses |
addAPIResponse(String name,
org.eclipse.microprofile.openapi.models.responses.APIResponse apiResponse) |
Map<String,org.eclipse.microprofile.openapi.models.responses.APIResponse> |
getAPIResponses() |
org.eclipse.microprofile.openapi.models.responses.APIResponse |
getDefaultValue() |
static void |
merge(org.eclipse.microprofile.openapi.annotations.responses.APIResponse from,
org.eclipse.microprofile.openapi.models.responses.APIResponses to,
boolean override,
Map<String,org.eclipse.microprofile.openapi.models.media.Schema> currentSchemas) |
void |
removeAPIResponse(String name) |
void |
setAPIResponses(Map<String,org.eclipse.microprofile.openapi.models.responses.APIResponse> items) |
void |
setDefaultValue(org.eclipse.microprofile.openapi.models.responses.APIResponse defaultValue) |
addExtension, getExtensions, removeExtension, setExtensionsceilingEntry, ceilingKey, clear, clone, comparator, containsKey, containsValue, descendingKeySet, descendingMap, entrySet, firstEntry, firstKey, floorEntry, floorKey, forEach, get, headMap, headMap, higherEntry, higherKey, keySet, lastEntry, lastKey, lowerEntry, lowerKey, navigableKeySet, pollFirstEntry, pollLastEntry, put, putAll, remove, replace, replace, replaceAll, size, subMap, subMap, tailMap, tailMap, valuesequals, hashCode, isEmpty, toStringfinalize, getClass, notify, notifyAll, wait, wait, waitaddApiResponse, containsKey, defaultValue, get, getAPIResponse, getDefault, hasAPIResponse, put, putAll, removeaddExtension, extensions, getExtensions, removeExtension, setExtensionsclear, compute, computeIfAbsent, computeIfPresent, containsValue, entrySet, equals, forEach, getOrDefault, hashCode, isEmpty, keySet, merge, putIfAbsent, remove, replace, replace, replaceAll, size, valuespublic org.eclipse.microprofile.openapi.models.responses.APIResponses addAPIResponse(String name, org.eclipse.microprofile.openapi.models.responses.APIResponse apiResponse)
addAPIResponse in interface org.eclipse.microprofile.openapi.models.responses.APIResponsespublic void removeAPIResponse(String name)
removeAPIResponse in interface org.eclipse.microprofile.openapi.models.responses.APIResponsespublic Map<String,org.eclipse.microprofile.openapi.models.responses.APIResponse> getAPIResponses()
getAPIResponses in interface org.eclipse.microprofile.openapi.models.responses.APIResponsespublic void setAPIResponses(Map<String,org.eclipse.microprofile.openapi.models.responses.APIResponse> items)
setAPIResponses in interface org.eclipse.microprofile.openapi.models.responses.APIResponsespublic org.eclipse.microprofile.openapi.models.responses.APIResponse getDefaultValue()
getDefaultValue in interface org.eclipse.microprofile.openapi.models.responses.APIResponsespublic void setDefaultValue(org.eclipse.microprofile.openapi.models.responses.APIResponse defaultValue)
setDefaultValue in interface org.eclipse.microprofile.openapi.models.responses.APIResponsesCopyright © 2019. All rights reserved.