Package org.forgerock.api.transform
Class LocalizableOperation
- java.lang.Object
-
- io.swagger.models.Operation
-
- org.forgerock.api.transform.LocalizableOperation
-
public class LocalizableOperation extends io.swagger.models.Operation
LocalizableOperation
.
-
-
Constructor Summary
Constructors Constructor Description LocalizableOperation()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description void
addTag(String tag)
void
addTag(LocalizableString tag)
Adds a Tag, a String value that is metadata related to the Operation.LocalizableOperation
description(String description)
LocalizableOperation
description(LocalizableString desc)
String
getDescription()
LocalizableString
getLocalizableDescription()
List<LocalizableString>
getLocalizableTags()
Returns the localizable tags for this operation.List<String>
getTags()
void
setDescription(String description)
void
setTags(List<String> tags)
-
Methods inherited from class io.swagger.models.Operation
addConsumes, addParameter, addProduces, addResponse, addScheme, addSecurity, consumes, consumes, defaultResponse, deprecated, equals, externalDocs, getConsumes, getDescription, getExternalDocs, getOperationId, getParameters, getProduces, getResponses, getSchemes, getSecurity, getSummary, getVendorExtensions, hashCode, isDeprecated, operationId, parameter, produces, produces, response, scheme, schemes, security, setConsumes, setDeprecated, setExternalDocs, setOperationId, setParameters, setProduces, setResponses, setSchemes, setSecurity, setSummary, setVendorExtension, setVendorExtensions, summary, tag, tags, toString, vendorExtensions
-
-
-
-
Method Detail
-
description
public LocalizableOperation description(LocalizableString desc)
-
description
public LocalizableOperation description(String description)
- Overrides:
description
in classio.swagger.models.Operation
-
setDescription
public void setDescription(String description)
- Overrides:
setDescription
in classio.swagger.models.Operation
-
getLocalizableDescription
public LocalizableString getLocalizableDescription()
-
addTag
public void addTag(String tag)
- Overrides:
addTag
in classio.swagger.models.Operation
-
addTag
public void addTag(LocalizableString tag)
Adds a Tag, a String value that is metadata related to the Operation.- Parameters:
tag
- a LocalizableString
-
setTags
public void setTags(List<String> tags)
- Overrides:
setTags
in classio.swagger.models.Operation
-
getLocalizableTags
public List<LocalizableString> getLocalizableTags()
Returns the localizable tags for this operation.- Returns:
- the localizable tags for this operation
-
getDescription
public abstract String getDescription()
-
-