public class CodegenParameter extends Object implements IJsonSchemaValidationProperties
| Modifier and Type | Field and Description |
|---|---|
List<String> |
_enum |
Map<String,Object> |
allowableValues |
String |
baseName |
String |
baseType |
String |
collectionFormat |
String |
dataFormat |
String |
dataType |
String |
datatypeWithEnum |
String |
defaultValue |
String |
description |
String |
enumName |
String |
example |
boolean |
exclusiveMaximum
See http://json-schema.org/latest/json-schema-validation.html#anchor17
|
boolean |
exclusiveMinimum
See http://json-schema.org/latest/json-schema-validation.html#anchor21
|
boolean |
hasMore |
boolean |
hasValidation |
boolean |
isBinary |
boolean |
isBodyParam |
boolean |
isBoolean |
boolean |
isByteArray |
boolean |
isCollectionFormatMulti |
boolean |
isContainer |
boolean |
isCookieParam |
boolean |
isDate |
boolean |
isDateTime |
boolean |
isDouble |
boolean |
isEmail |
boolean |
isEnum |
boolean |
isExplode |
boolean |
isFile |
boolean |
isFloat |
boolean |
isFormParam |
boolean |
isFreeFormObject |
boolean |
isHeaderParam |
boolean |
isInteger |
boolean |
isListContainer |
boolean |
isLong |
boolean |
isMapContainer |
boolean |
isModel |
boolean |
isNullable |
boolean |
isNumber |
boolean |
isNumeric |
boolean |
isPathParam |
boolean |
isPrimitiveType |
boolean |
isQueryParam |
boolean |
isString |
boolean |
isUri |
boolean |
isUuid |
CodegenProperty |
items |
String |
jsonSchema |
String |
maximum
See http://json-schema.org/latest/json-schema-validation.html#anchor17.
|
Integer |
maxItems
See http://json-schema.org/latest/json-schema-validation.html#anchor42
|
Integer |
maxLength
See http://json-schema.org/latest/json-schema-validation.html#anchor26
|
String |
minimum
See http://json-schema.org/latest/json-schema-validation.html#anchor21
|
Integer |
minItems
See http://json-schema.org/latest/json-schema-validation.html#anchor45
|
Integer |
minLength
See http://json-schema.org/latest/json-schema-validation.html#anchor29
|
CodegenProperty |
mostInnerItems |
Number |
multipleOf
See http://json-schema.org/latest/json-schema-validation.html#anchor14
|
String |
paramName |
String |
pattern
See http://json-schema.org/latest/json-schema-validation.html#anchor33
|
boolean |
required
Determines whether this parameter is mandatory.
|
boolean |
secondaryParam |
String |
style |
String |
unescapedDescription |
boolean |
uniqueItems
See http://json-schema.org/latest/json-schema-validation.html#anchor49
|
Map<String,Object> |
vendorExtensions |
| Constructor and Description |
|---|
CodegenParameter() |
| Modifier and Type | Method and Description |
|---|---|
CodegenParameter |
copy() |
boolean |
equals(Object o) |
boolean |
getExclusiveMaximum() |
boolean |
getExclusiveMinimum() |
String |
getMaximum() |
Integer |
getMaxItems() |
Integer |
getMaxLength() |
Integer |
getMaxProperties() |
String |
getMinimum() |
Integer |
getMinItems() |
Integer |
getMinLength() |
Integer |
getMinProperties() |
Number |
getMultipleOf() |
String |
getPattern() |
boolean |
getUniqueItems() |
int |
hashCode() |
void |
setExclusiveMaximum(boolean exclusiveMaximum) |
void |
setExclusiveMinimum(boolean exclusiveMinimum) |
void |
setMaximum(String maximum) |
void |
setMaxItems(Integer maxItems) |
void |
setMaxLength(Integer maxLength) |
void |
setMaxProperties(Integer maxProperties) |
void |
setMinimum(String minimum) |
void |
setMinItems(Integer minItems) |
void |
setMinLength(Integer minLength) |
void |
setMinProperties(Integer minProperties) |
void |
setMultipleOf(Number multipleOf) |
void |
setPattern(String pattern) |
void |
setUniqueItems(boolean uniqueItems) |
String |
toString() |
public boolean isFormParam
public boolean isQueryParam
public boolean isPathParam
public boolean isHeaderParam
public boolean isCookieParam
public boolean isBodyParam
public boolean hasMore
public boolean isContainer
public boolean secondaryParam
public boolean isCollectionFormatMulti
public boolean isPrimitiveType
public boolean isModel
public boolean isExplode
public String baseName
public String paramName
public String dataType
public String datatypeWithEnum
public String dataFormat
public String collectionFormat
public String description
public String unescapedDescription
public String baseType
public String defaultValue
public String enumName
public String style
public String example
public String jsonSchema
public boolean isString
public boolean isNumeric
public boolean isInteger
public boolean isLong
public boolean isNumber
public boolean isFloat
public boolean isDouble
public boolean isByteArray
public boolean isBinary
public boolean isBoolean
public boolean isDate
public boolean isDateTime
public boolean isUuid
public boolean isUri
public boolean isEmail
public boolean isFreeFormObject
public boolean isListContainer
public boolean isMapContainer
public boolean isFile
public boolean isEnum
public CodegenProperty items
public CodegenProperty mostInnerItems
public boolean hasValidation
public boolean isNullable
public boolean required
public String maximum
public boolean exclusiveMaximum
public String minimum
public boolean exclusiveMinimum
public Integer maxLength
public Integer minLength
public String pattern
public Integer maxItems
public Integer minItems
public boolean uniqueItems
public Number multipleOf
public CodegenParameter copy()
public String getPattern()
getPattern in interface IJsonSchemaValidationPropertiespublic void setPattern(String pattern)
setPattern in interface IJsonSchemaValidationPropertiespublic String getMaximum()
getMaximum in interface IJsonSchemaValidationPropertiespublic void setMaximum(String maximum)
setMaximum in interface IJsonSchemaValidationPropertiespublic String getMinimum()
getMinimum in interface IJsonSchemaValidationPropertiespublic void setMinimum(String minimum)
setMinimum in interface IJsonSchemaValidationPropertiespublic boolean getExclusiveMaximum()
getExclusiveMaximum in interface IJsonSchemaValidationPropertiespublic void setExclusiveMaximum(boolean exclusiveMaximum)
setExclusiveMaximum in interface IJsonSchemaValidationPropertiespublic boolean getExclusiveMinimum()
getExclusiveMinimum in interface IJsonSchemaValidationPropertiespublic void setExclusiveMinimum(boolean exclusiveMinimum)
setExclusiveMinimum in interface IJsonSchemaValidationPropertiespublic Integer getMinLength()
getMinLength in interface IJsonSchemaValidationPropertiespublic void setMinLength(Integer minLength)
setMinLength in interface IJsonSchemaValidationPropertiespublic Integer getMaxLength()
getMaxLength in interface IJsonSchemaValidationPropertiespublic void setMaxLength(Integer maxLength)
setMaxLength in interface IJsonSchemaValidationPropertiespublic Integer getMinItems()
getMinItems in interface IJsonSchemaValidationPropertiespublic void setMinItems(Integer minItems)
setMinItems in interface IJsonSchemaValidationPropertiespublic Integer getMaxItems()
getMaxItems in interface IJsonSchemaValidationPropertiespublic void setMaxItems(Integer maxItems)
setMaxItems in interface IJsonSchemaValidationPropertiespublic boolean getUniqueItems()
getUniqueItems in interface IJsonSchemaValidationPropertiespublic void setUniqueItems(boolean uniqueItems)
setUniqueItems in interface IJsonSchemaValidationPropertiespublic Integer getMinProperties()
getMinProperties in interface IJsonSchemaValidationPropertiespublic void setMinProperties(Integer minProperties)
setMinProperties in interface IJsonSchemaValidationPropertiespublic Integer getMaxProperties()
getMaxProperties in interface IJsonSchemaValidationPropertiespublic void setMaxProperties(Integer maxProperties)
setMaxProperties in interface IJsonSchemaValidationPropertiespublic Number getMultipleOf()
getMultipleOf in interface IJsonSchemaValidationPropertiespublic void setMultipleOf(Number multipleOf)
setMultipleOf in interface IJsonSchemaValidationPropertiesCopyright © 2020. All rights reserved.