public class ApiParameter extends Property
| Constructor and Description |
|---|
ApiParameter(String paramCategory,
String name,
Boolean required,
Boolean allowMultiple,
String type,
String format,
String description,
String itemsRef,
String itemsType,
String itemsFormat,
Boolean uniqueItems,
List<String> allowableValues,
String minimum,
String maximum,
String defaultValue)
This creates a ApiParameter
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
Boolean |
getAllowMultiple()
This gets the allowMultiple
|
String |
getName()
This gets the name
|
String |
getParamType()
This gets the paramType
|
Boolean |
getRequired()
This gets the required
|
int |
hashCode() |
void |
setAllowMultiple(Boolean allowMultiple)
This sets the allowMultiple
|
void |
setName(String name)
This sets the name
|
void |
setParamType(String paramType)
This sets the paramType
|
void |
setRequired(Boolean required)
This sets the required
|
String |
toString() |
getAllowableValues, getDefaultValue, getDescription, getFormat, getItems, getMaximum, getMinimum, getParamCategory, getRawFieldName, getType, getUniqueItemspublic ApiParameter(String paramCategory, String name, Boolean required, Boolean allowMultiple, String type, String format, String description, String itemsRef, String itemsType, String itemsFormat, Boolean uniqueItems, List<String> allowableValues, String minimum, String maximum, String defaultValue)
name - paramCategory - required - allowMultiple - type - format - description - itemsRef - itemsType - itemsFormat - uniqueItems - allowableValues - minimum - maximum - defaultValue - public String getParamType()
public void setParamType(String paramType)
paramType - the paramType to setpublic String getName()
public void setName(String name)
name - the name to setpublic Boolean getRequired()
public void setRequired(Boolean required)
required - the required to setpublic Boolean getAllowMultiple()
public void setAllowMultiple(Boolean allowMultiple)
allowMultiple - the allowMultiple to setpublic int hashCode()
hashCode in class PropertyObject.hashCode()public boolean equals(Object obj)
equals in class PropertyObject.equals(java.lang.Object)public String toString()
toString in class PropertyObject.toString()Copyright © 2015. All rights reserved.