public class CallbackImpl extends LinkedHashMap<String,PathItem> implements ModelImpl
Callback
OpenAPI model interface.AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
Constructor and Description |
---|
CallbackImpl() |
Modifier and Type | Method and Description |
---|---|
void |
addExtension(String name,
Object value) |
Callback |
addPathItem(String name,
PathItem item) |
Map<String,Object> |
getExtensions() |
String |
getRef() |
Callback |
ref(String ref) |
void |
setExtensions(Map<String,Object> extensions) |
void |
setRef(String ref) |
clear, containsValue, entrySet, forEach, get, getOrDefault, keySet, replaceAll, values
clone, compute, computeIfAbsent, computeIfPresent, containsKey, isEmpty, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, size
equals, hashCode, toString
compute, computeIfAbsent, computeIfPresent, containsKey, equals, hashCode, isEmpty, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, size
public Map<String,Object> getExtensions()
org.eclipse.microprofile.openapi.models.Extensible#getExtensions()
public void addExtension(String name, Object value)
org.eclipse.microprofile.openapi.models.Extensible#addExtension(java.lang.String, java.lang.Object)
public void setExtensions(Map<String,Object> extensions)
org.eclipse.microprofile.openapi.models.Extensible#setExtensions(java.util.Map)
public String getRef()
org.eclipse.microprofile.openapi.models.Reference#getRef()
public void setRef(String ref)
org.eclipse.microprofile.openapi.models.Reference#setRef(java.lang.String)
public Callback ref(String ref)
org.eclipse.microprofile.openapi.models.Reference#ref(java.lang.String)
public Callback addPathItem(String name, PathItem item)
org.eclipse.microprofile.openapi.models.callbacks.Callback#addPathItem(java.lang.String, org.eclipse.microprofile.openapi.models.PathItem)
Copyright © 2018 JBoss by Red Hat. All rights reserved.