public class Parameter
extends java.lang.Object
Constructor and Description |
---|
Parameter() |
Parameter(java.lang.String name,
java.lang.String description,
java.lang.String defaultValue,
java.lang.Boolean required,
java.lang.Boolean allowMultiple,
java.lang.String dataType,
AllowableValues allowableValues,
java.lang.String paramType,
java.lang.String paramAccess) |
Modifier and Type | Method and Description |
---|---|
AllowableValues |
getAllowableValues() |
java.lang.String |
getDefaultValue() |
java.lang.String |
getDescription() |
java.lang.String |
getName() |
java.lang.String |
getParamAccess() |
SwaggerDataType |
getParameterType() |
java.lang.String |
getParamType() |
java.lang.Boolean |
isAllowMultiple() |
java.lang.Boolean |
isRequired() |
void |
setAllowableValues(AllowableValues allowableValues) |
void |
setAllowMultiple(java.lang.Boolean allowMultiple) |
void |
setDefaultValue(java.lang.String defaultValue) |
void |
setDescription(java.lang.String description) |
void |
setName(java.lang.String name) |
void |
setParamAccess(java.lang.String paramAccess) |
void |
setParameterType(SwaggerDataType parameterType) |
void |
setParamType(java.lang.String paramType) |
void |
setRequired(java.lang.Boolean required) |
public Parameter()
public Parameter(java.lang.String name, java.lang.String description, java.lang.String defaultValue, java.lang.Boolean required, java.lang.Boolean allowMultiple, java.lang.String dataType, AllowableValues allowableValues, java.lang.String paramType, java.lang.String paramAccess)
public java.lang.String getName()
public void setName(java.lang.String name)
public java.lang.String getDescription()
public void setDescription(java.lang.String description)
public java.lang.String getDefaultValue()
public void setDefaultValue(java.lang.String defaultValue)
public java.lang.Boolean isRequired()
public java.lang.Boolean isAllowMultiple()
public AllowableValues getAllowableValues()
public void setAllowableValues(AllowableValues allowableValues)
public java.lang.String getParamType()
public void setParamType(java.lang.String paramType)
public java.lang.String getParamAccess()
public void setParamAccess(java.lang.String paramAccess)
public SwaggerDataType getParameterType()
public void setParameterType(SwaggerDataType parameterType)
public void setRequired(java.lang.Boolean required)
public void setAllowMultiple(java.lang.Boolean allowMultiple)