Package io.smallrye.openapi.api.models
Class PathsImpl
- java.lang.Object
-
- io.smallrye.openapi.api.models.ExtensibleImpl<org.eclipse.microprofile.openapi.models.Paths>
-
- io.smallrye.openapi.api.models.PathsImpl
-
- All Implemented Interfaces:
MapModel<org.eclipse.microprofile.openapi.models.PathItem>,ModelImpl,Map<String,org.eclipse.microprofile.openapi.models.PathItem>,org.eclipse.microprofile.openapi.models.Constructible,org.eclipse.microprofile.openapi.models.Extensible<org.eclipse.microprofile.openapi.models.Paths>,org.eclipse.microprofile.openapi.models.Paths
public class PathsImpl extends ExtensibleImpl<org.eclipse.microprofile.openapi.models.Paths> implements org.eclipse.microprofile.openapi.models.Paths, ModelImpl, MapModel<org.eclipse.microprofile.openapi.models.PathItem>
An implementation of thePathsOpenAPI model interface.
-
-
Constructor Summary
Constructors Constructor Description PathsImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.eclipse.microprofile.openapi.models.PathsaddPathItem(String name, org.eclipse.microprofile.openapi.models.PathItem item)booleancontainsKey(Object key)org.eclipse.microprofile.openapi.models.PathItemget(Object key)Map<String,org.eclipse.microprofile.openapi.models.PathItem>getMap()Map<String,org.eclipse.microprofile.openapi.models.PathItem>getPathItems()org.eclipse.microprofile.openapi.models.PathItemput(String key, org.eclipse.microprofile.openapi.models.PathItem value)voidputAll(Map<? extends String,? extends org.eclipse.microprofile.openapi.models.PathItem> m)org.eclipse.microprofile.openapi.models.PathItemremove(Object key)voidremovePathItem(String name)voidsetMap(Map<String,org.eclipse.microprofile.openapi.models.PathItem> map)voidsetPathItems(Map<String,org.eclipse.microprofile.openapi.models.PathItem> items)-
Methods inherited from class io.smallrye.openapi.api.models.ExtensibleImpl
addExtension, getExtensions, removeExtension, setExtensions
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.eclipse.microprofile.openapi.models.Extensible
addExtension, extensions, getExtensions, removeExtension, setExtensions
-
Methods inherited from interface java.util.Map
compute, computeIfAbsent, computeIfPresent, equals, forEach, getOrDefault, hashCode, merge, putIfAbsent, remove, replace, replace, replaceAll
-
Methods inherited from interface io.smallrye.openapi.api.models.MapModel
clear, containsValue, entrySet, invoke, invokeFunction, isEmpty, keySet, size, values
-
-
-
-
Method Detail
-
addPathItem
public org.eclipse.microprofile.openapi.models.Paths addPathItem(String name, org.eclipse.microprofile.openapi.models.PathItem item)
- Specified by:
addPathItemin interfaceorg.eclipse.microprofile.openapi.models.Paths- See Also:
Paths.addPathItem(java.lang.String, org.eclipse.microprofile.openapi.models.PathItem)
-
removePathItem
public void removePathItem(String name)
- Specified by:
removePathItemin interfaceorg.eclipse.microprofile.openapi.models.Paths- See Also:
Paths.removePathItem(java.lang.String)
-
getPathItems
public Map<String,org.eclipse.microprofile.openapi.models.PathItem> getPathItems()
- Specified by:
getPathItemsin interfaceorg.eclipse.microprofile.openapi.models.Paths- See Also:
Paths.getPathItems()
-
setPathItems
public void setPathItems(Map<String,org.eclipse.microprofile.openapi.models.PathItem> items)
- Specified by:
setPathItemsin interfaceorg.eclipse.microprofile.openapi.models.Paths- See Also:
Paths.setPathItems(java.util.Map)
-
get
public org.eclipse.microprofile.openapi.models.PathItem get(Object key)
-
containsKey
public boolean containsKey(Object key)
- Specified by:
containsKeyin interfaceMap<String,org.eclipse.microprofile.openapi.models.PathItem>- Specified by:
containsKeyin interfaceMapModel<org.eclipse.microprofile.openapi.models.PathItem>
-
put
public org.eclipse.microprofile.openapi.models.PathItem put(String key, org.eclipse.microprofile.openapi.models.PathItem value)
-
putAll
public void putAll(Map<? extends String,? extends org.eclipse.microprofile.openapi.models.PathItem> m)
-
-