Package io.swagger.v3.oas.models.media
Class XML
- java.lang.Object
-
- io.swagger.v3.oas.models.media.XML
-
public class XML extends Object
XML- See Also:
- "https://github.com/OAI/OpenAPI-Specification/blob/3.0.4/versions/3.0.4.md#xml-object"
-
-
Constructor Summary
Constructors Constructor Description XML()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddExtension(String name, Object value)voidaddExtension31(String name, Object value)XMLattribute(Boolean attribute)booleanequals(Object o)XMLextensions(Map<String,Object> extensions)BooleangetAttribute()returns the attribute property from a XML instance.Map<String,Object>getExtensions()StringgetName()returns the name property from a XML instance.StringgetNamespace()returns the namespace property from a XML instance.StringgetPrefix()returns the prefix property from a XML instance.BooleangetWrapped()returns the wrapped property from a XML instance.inthashCode()XMLname(String name)XMLnamespace(String namespace)XMLprefix(String prefix)voidsetAttribute(Boolean attribute)voidsetExtensions(Map<String,Object> extensions)voidsetName(String name)voidsetNamespace(String namespace)voidsetPrefix(String prefix)voidsetWrapped(Boolean wrapped)StringtoString()XMLwrapped(Boolean wrapped)
-
-
-
Method Detail
-
getName
public String getName()
returns the name property from a XML instance.- Returns:
- String name
-
setName
public void setName(String name)
-
getNamespace
public String getNamespace()
returns the namespace property from a XML instance.- Returns:
- String namespace
-
setNamespace
public void setNamespace(String namespace)
-
getPrefix
public String getPrefix()
returns the prefix property from a XML instance.- Returns:
- String prefix
-
setPrefix
public void setPrefix(String prefix)
-
getAttribute
public Boolean getAttribute()
returns the attribute property from a XML instance.- Returns:
- Boolean attribute
-
setAttribute
public void setAttribute(Boolean attribute)
-
getWrapped
public Boolean getWrapped()
returns the wrapped property from a XML instance.- Returns:
- Boolean wrapped
-
setWrapped
public void setWrapped(Boolean wrapped)
-
-