public class LocalizableRefProperty
extends io.swagger.models.properties.RefProperty
RefProperty
.Constructor and Description |
---|
LocalizableRefProperty()
Creates a new
LocalizableRefProperty . |
LocalizableRefProperty(String ref)
Creates a new
LocalizableRefProperty with the given JSON Reference. |
Modifier and Type | Method and Description |
---|---|
LocalizableRefProperty |
description(LocalizableString description)
Set the localizable description.
|
LocalizableRefProperty |
description(String description)
Set the plain string description.
|
String |
getDescription() |
LocalizableString |
getLocalizableDescription()
Get the localizable title for Jackson.
|
LocalizableString |
getLocalizableTitle()
Get the localizable title for Jackson.
|
String |
getTitle() |
void |
setDescription(String description) |
void |
setFormat(String format)
Pull method from
AbstractProperty into this interface. |
void |
setTitle(String title) |
void |
setVendorExtension(String name,
Object value)
Pull method from
AbstractProperty into this interface. |
LocalizableRefProperty |
title(LocalizableString title)
Set the localizable title.
|
LocalizableRefProperty |
title(String title)
Set the plain string title.
|
asDefault, equals, get$ref, getRefFormat, getSimpleRef, getType, hashCode, isType, set$ref, setType
allowEmptyValue, getAccess, getAllowEmptyValue, getDescription, getExample, getFormat, getName, getPosition, getReadOnly, getRequired, getTitle, getVendorExtensions, getXml, readOnly, rename, setAccess, setAllowEmptyValue, setDefault, setExample, setExample, setFormat, setName, setPosition, setReadOnly, setRequired, setVendorExtension, setVendorExtensionMap, setVendorExtensions, setXml
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
getAccess, getAllowEmptyValue, getDescription, getExample, getFormat, getName, getPosition, getReadOnly, getRequired, getTitle, getType, getVendorExtensions, getXml, rename, setAccess, setAllowEmptyValue, setDefault, setExample, setExample, setName, setPosition, setReadOnly, setRequired, setXml
public LocalizableRefProperty()
LocalizableRefProperty
.public LocalizableRefProperty(String ref)
LocalizableRefProperty
with the given JSON Reference.ref
- JSON Referencepublic LocalizableRefProperty title(String title)
title
in interface io.swagger.models.properties.Property
title
in class io.swagger.models.properties.AbstractProperty
title
- The title.public LocalizableRefProperty title(LocalizableString title)
title
- The title.public LocalizableRefProperty description(LocalizableString description)
description
- The title.public void setTitle(String title)
setTitle
in interface io.swagger.models.properties.Property
setTitle
in class io.swagger.models.properties.AbstractProperty
public LocalizableRefProperty description(String description)
description
in interface io.swagger.models.properties.Property
description
in class io.swagger.models.properties.RefProperty
description
- The title.public void setDescription(String description)
setDescription
in interface io.swagger.models.properties.Property
setDescription
in class io.swagger.models.properties.AbstractProperty
public LocalizableString getLocalizableTitle()
public LocalizableString getLocalizableDescription()
public void setVendorExtension(String name, Object value)
AbstractProperty
into this interface.name
- The name.value
- The value.public void setFormat(String format)
AbstractProperty
into this interface.format
- The format.public String getTitle()
public String getDescription()
Copyright 2010-2022 ForgeRock AS.