Class SecurityRequirement
- java.lang.Object
-
- java.util.AbstractMap<K,V>
-
- java.util.HashMap<K,V>
-
- java.util.LinkedHashMap<String,List<String>>
-
- io.swagger.v3.oas.models.security.SecurityRequirement
-
public class SecurityRequirement extends LinkedHashMap<String,List<String>>
SecurityRequirement- See Also:
- "https://github.com/OAI/OpenAPI-Specification/blob/3.0.4/versions/3.0.4.md#security-requirement-object", "https://github.com/OAI/OpenAPI-Specification/blob/3.1.1/versions/3.1.1.md#security-requirement-object", Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class java.util.AbstractMap
AbstractMap.SimpleEntry<K extends Object,V extends Object>, AbstractMap.SimpleImmutableEntry<K extends Object,V extends Object>
-
-
Constructor Summary
Constructors Constructor Description SecurityRequirement()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SecurityRequirementaddList(String name)SecurityRequirementaddList(String name, String item)SecurityRequirementaddList(String name, List<String> item)booleanequals(Object o)inthashCode()StringtoString()-
Methods inherited from class java.util.LinkedHashMap
clear, containsValue, entrySet, forEach, get, getOrDefault, keySet, removeEldestEntry, replaceAll, values
-
Methods inherited from class java.util.HashMap
clone, compute, computeIfAbsent, computeIfPresent, containsKey, isEmpty, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, size
-
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface java.util.Map
compute, computeIfAbsent, computeIfPresent, containsKey, isEmpty, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, size
-
-
-
-
Method Detail
-
addList
public SecurityRequirement addList(String name, String item)
-
addList
public SecurityRequirement addList(String name, List<String> item)
-
addList
public SecurityRequirement addList(String name)
-
equals
public boolean equals(Object o)
-
hashCode
public int hashCode()
-
-