public class ApiResponses extends LinkedHashMap<String,ApiResponse>
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
Constructor and Description |
---|
ApiResponses() |
Modifier and Type | Method and Description |
---|---|
ApiResponses |
_default(ApiResponse _default) |
ApiResponses |
addApiResponse(String name,
ApiResponse item) |
void |
addExtension(String name,
Object value) |
boolean |
equals(Object o) |
ApiResponses |
extensions(Map<String,Object> extensions) |
ApiResponse |
getDefault()
returns the default property from a ApiResponses instance.
|
Map<String,Object> |
getExtensions() |
int |
hashCode() |
void |
setDefault(ApiResponse _default) |
void |
setExtensions(Map<String,Object> extensions) |
String |
toString() |
clear, containsValue, entrySet, forEach, get, getOrDefault, keySet, removeEldestEntry, replaceAll, values
clone, compute, computeIfAbsent, computeIfPresent, containsKey, isEmpty, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, size
finalize, getClass, notify, notifyAll, wait, wait, wait
compute, computeIfAbsent, computeIfPresent, containsKey, isEmpty, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, size
public static final String DEFAULT
public ApiResponses addApiResponse(String name, ApiResponse item)
public ApiResponse getDefault()
public void setDefault(ApiResponse _default)
public ApiResponses _default(ApiResponse _default)
public ApiResponses extensions(Map<String,Object> extensions)
public boolean equals(Object o)
equals
in interface Map<String,ApiResponse>
equals
in class AbstractMap<String,ApiResponse>
public int hashCode()
hashCode
in interface Map<String,ApiResponse>
hashCode
in class AbstractMap<String,ApiResponse>
public String toString()
toString
in class AbstractMap<String,ApiResponse>
Copyright © 2019. All rights reserved.