public class CodegenParameter extends Object implements IJsonSchemaValidationProperties
| Modifier and Type | Field and Description |
|---|---|
List<String> |
_enum |
CodegenProperty |
additionalProperties |
Map<String,Object> |
allowableValues |
String |
baseName |
String |
baseType |
String |
collectionFormat |
String |
contentType |
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 |
hasValidation |
boolean |
isAnyType |
boolean |
isArray |
boolean |
isBinary |
boolean |
isBodyParam |
boolean |
isBoolean |
boolean |
isByteArray |
boolean |
isCollectionFormatMulti |
boolean |
isContainer |
boolean |
isCookieParam |
boolean |
isDate |
boolean |
isDateTime |
boolean |
isDecimal |
boolean |
isDouble |
boolean |
isEmail |
boolean |
isEnum |
boolean |
isExplode |
boolean |
isFile |
boolean |
isFloat |
boolean |
isFormParam |
boolean |
isFreeFormObject |
boolean |
isHeaderParam |
boolean |
isInteger |
boolean |
isLong |
boolean |
isMap |
boolean |
isModel |
boolean |
isNull |
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 |
nameInLowerCase |
String |
paramName |
String |
pattern
See http://json-schema.org/latest/json-schema-validation.html#anchor33
|
boolean |
required
Determines whether this parameter is mandatory.
|
List<CodegenProperty> |
requiredVars |
String |
style |
String |
unescapedDescription |
boolean |
uniqueItems
See http://json-schema.org/latest/json-schema-validation.html#anchor49
|
List<CodegenProperty> |
vars |
Map<String,Object> |
vendorExtensions |
| Constructor and Description |
|---|
CodegenParameter() |
public boolean isFormParam
public boolean isQueryParam
public boolean isPathParam
public boolean isHeaderParam
public boolean isCookieParam
public boolean isBodyParam
public boolean isContainer
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 contentType
public String collectionFormat
public String description
public String unescapedDescription
public String baseType
public String defaultValue
public String enumName
public String style
public String nameInLowerCase
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 isDecimal
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 isAnyType
public boolean isArray
public boolean isMap
public boolean isFile
public boolean isEnum
public CodegenProperty items
public CodegenProperty additionalProperties
public List<CodegenProperty> vars
public List<CodegenProperty> requiredVars
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 boolean isNull
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 IJsonSchemaValidationPropertiespublic CodegenProperty getItems()
getItems in interface IJsonSchemaValidationPropertiespublic void setItems(CodegenProperty items)
setItems in interface IJsonSchemaValidationPropertiespublic boolean getIsModel()
getIsModel in interface IJsonSchemaValidationPropertiespublic void setIsModel(boolean isModel)
setIsModel in interface IJsonSchemaValidationPropertiespublic boolean getIsDate()
getIsDate in interface IJsonSchemaValidationPropertiespublic void setIsDate(boolean isDate)
setIsDate in interface IJsonSchemaValidationPropertiespublic boolean getIsDateTime()
getIsDateTime in interface IJsonSchemaValidationPropertiespublic void setIsDateTime(boolean isDateTime)
setIsDateTime in interface IJsonSchemaValidationPropertiespublic boolean getIsMap()
getIsMap in interface IJsonSchemaValidationPropertiespublic void setIsMap(boolean isMap)
setIsMap in interface IJsonSchemaValidationPropertiespublic boolean getIsArray()
getIsArray in interface IJsonSchemaValidationPropertiespublic void setIsArray(boolean isArray)
setIsArray in interface IJsonSchemaValidationPropertiespublic CodegenProperty getAdditionalProperties()
getAdditionalProperties in interface IJsonSchemaValidationPropertiespublic void setAdditionalProperties(CodegenProperty additionalProperties)
setAdditionalProperties in interface IJsonSchemaValidationPropertiespublic List<CodegenProperty> getVars()
getVars in interface IJsonSchemaValidationPropertiespublic void setVars(List<CodegenProperty> vars)
setVars in interface IJsonSchemaValidationPropertiespublic List<CodegenProperty> getRequiredVars()
getRequiredVars in interface IJsonSchemaValidationPropertiespublic void setRequiredVars(List<CodegenProperty> requiredVars)
setRequiredVars in interface IJsonSchemaValidationPropertiespublic boolean getIsNull()
getIsNull in interface IJsonSchemaValidationPropertiespublic void setIsNull(boolean isNull)
setIsNull in interface IJsonSchemaValidationPropertiespublic boolean getHasValidation()
getHasValidation in interface IJsonSchemaValidationPropertiespublic void setHasValidation(boolean hasValidation)
setHasValidation in interface IJsonSchemaValidationPropertiesCopyright © 2021. All rights reserved.