Package org.openapitools.codegen
Class CodegenProperty
- java.lang.Object
-
- org.openapitools.codegen.CodegenProperty
-
- All Implemented Interfaces:
Cloneable,IJsonSchemaValidationProperties
public class CodegenProperty extends Object implements Cloneable, IJsonSchemaValidationProperties
-
-
Field Summary
Fields Modifier and Type Field Description List<String>_enumCodegenPropertyadditionalPropertiesMap<String,Object>allowableValuesStringbaseNameStringbaseTypeStringcomplexTypeStringcontainerTypeStringcontainerTypeMappedStringdataFormatStringdataTypeThe language-specific data type for this property.StringdatatypeWithEnumStringdefaultValueStringdefaultValueWithParambooleandeprecatedStringdescriptionThe value of the 'description' attribute in the OpenAPI schema.StringdiscriminatorValueStringenumNameStringexampleA free-form property to include an example of an instance for this schema.booleanexclusiveMaximumThe value of the 'exclusiveMaximum' attribute in the OpenAPI schema.booleanexclusiveMinimumThe value of the 'exclusiveMinimum' attribute in the OpenAPI schema.StringgetterbooleanhasMoreNonReadOnlybooleanhasValidationbooleanisAnyTypeThe 'type' in the OAS schema is unspecified (i.e.booleanisArraybooleanisBinarybooleanisBooleanbooleanisByteArraybooleanisCircularReferencebooleanisContainerTrue if this property is an array of items or a map container.booleanisDatebooleanisDateTimebooleanisDecimalbooleanisDiscriminatorbooleanisDoublebooleanisEmailbooleanisEnumbooleanisEnumRefbooleanisFilebooleanisFloatbooleanisFreeFormObjectThe type is a free-form object, i.e.booleanisInheritedbooleanisInnerEnumbooleanisIntegerbooleanisLongbooleanisMapbooleanisModelbooleanisNewbooleanisNullbooleanisNullablebooleanisNumberbooleanisNumericBooleanisOverriddenbooleanisPasswordbooleanisPrimitiveTypebooleanisReadOnlybooleanisSelfReferencebooleanisShortbooleanisStringbooleanisUnboundedIntegerbooleanisUribooleanisUuidbooleanisVoidbooleanisWriteOnlybooleanisXmlAttributebooleanisXmlWrappedCodegenPropertyitemsStringjsonSchemaStringmaxStringmaximumThe value of the 'maximum' attribute in the OpenAPI schema.IntegermaxItemsIntegermaxLengthmaxLength validation for strings, see http://json-schema.org/latest/json-schema-validation.html#rfc.section.5.2.1StringminStringminimumThe value of the 'minimum' attribute in the OpenAPI schema.IntegerminItemsIntegerminLengthminLength validation for strings, see http://json-schema.org/latest/json-schema-validation.html#rfc.section.5.2.2CodegenPropertymostInnerItemsNumbermultipleOfThe value of the 'multipleOf' attribute in the OpenAPI schema.StringnameThe name of this property in the OpenAPI schema.StringnameInCamelCaseStringnameInLowerCaseStringnameInSnakeCaseStringopenApiTypeThe value of the 'type' attribute in the OpenAPI schema.Stringpatternpattern validation for strings, see http://json-schema.org/latest/json-schema-validation.html#rfc.section.5.2.3booleanrequiredList<CodegenProperty>requiredVarsStringsetterStringtitleThe value of the 'title' attribute in the OpenAPI schema.StringunescapedDescriptionThe 'description' string without escape characters needed by some programming languages/targetsList<CodegenProperty>varsMap<String,Object>vendorExtensionsStringxmlNameStringxmlNamespaceStringxmlPrefix
-
Constructor Summary
Constructors Constructor Description CodegenProperty()
-
Method Summary
-
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.openapitools.codegen.IJsonSchemaValidationProperties
getImports, setTypeProperties
-
-
-
-
Field Detail
-
openApiType
public String openApiType
The value of the 'type' attribute in the OpenAPI schema. The per-language codegen logic may change to a language-specific type.
-
baseName
public String baseName
-
complexType
public String complexType
-
getter
public String getter
-
setter
public String setter
-
description
public String description
The value of the 'description' attribute in the OpenAPI schema.
-
dataType
public String dataType
The language-specific data type for this property. For example, the OpenAPI type 'integer' may be represented as 'int', 'int32', 'Integer', etc, depending on the programming language.
-
datatypeWithEnum
public String datatypeWithEnum
-
dataFormat
public String dataFormat
-
name
public String name
The name of this property in the OpenAPI schema.
-
min
public String min
-
max
public String max
-
defaultValue
public String defaultValue
-
defaultValueWithParam
public String defaultValueWithParam
-
baseType
public String baseType
-
containerType
public String containerType
-
containerTypeMapped
public String containerTypeMapped
-
title
public String title
The value of the 'title' attribute in the OpenAPI schema.
-
unescapedDescription
public String unescapedDescription
The 'description' string without escape characters needed by some programming languages/targets
-
maxLength
public Integer maxLength
maxLength validation for strings, see http://json-schema.org/latest/json-schema-validation.html#rfc.section.5.2.1
-
minLength
public Integer minLength
minLength validation for strings, see http://json-schema.org/latest/json-schema-validation.html#rfc.section.5.2.2
-
pattern
public String pattern
pattern validation for strings, see http://json-schema.org/latest/json-schema-validation.html#rfc.section.5.2.3
-
example
public String example
A free-form property to include an example of an instance for this schema.
-
jsonSchema
public String jsonSchema
-
minimum
public String minimum
The value of the 'minimum' attribute in the OpenAPI schema. The value of "minimum" MUST be a number, representing an inclusive lower limit for a numeric instance.
-
maximum
public String maximum
The value of the 'maximum' attribute in the OpenAPI schema. The value of "maximum" MUST be a number, representing an inclusive upper limit for a numeric instance.
-
multipleOf
public Number multipleOf
The value of the 'multipleOf' attribute in the OpenAPI schema. The value of "multipleOf" MUST be a number, strictly greater than 0.
-
exclusiveMinimum
public boolean exclusiveMinimum
The value of the 'exclusiveMinimum' attribute in the OpenAPI schema. The value of "exclusiveMinimum" MUST be number, representing an exclusive lower limit for a numeric instance.
-
exclusiveMaximum
public boolean exclusiveMaximum
The value of the 'exclusiveMaximum' attribute in the OpenAPI schema. The value of "exclusiveMaximum" MUST be number, representing an exclusive upper limit for a numeric instance.
-
required
public boolean required
-
deprecated
public boolean deprecated
-
hasMoreNonReadOnly
public boolean hasMoreNonReadOnly
-
isPrimitiveType
public boolean isPrimitiveType
-
isModel
public boolean isModel
-
isContainer
public boolean isContainer
True if this property is an array of items or a map container. See: - ModelUtils.isArraySchema() - ModelUtils.isMapSchema()
-
isString
public boolean isString
-
isNumeric
public boolean isNumeric
-
isInteger
public boolean isInteger
-
isShort
public boolean isShort
-
isLong
public boolean isLong
-
isUnboundedInteger
public boolean isUnboundedInteger
-
isNumber
public boolean isNumber
-
isFloat
public boolean isFloat
-
isDouble
public boolean isDouble
-
isDecimal
public boolean isDecimal
-
isByteArray
public boolean isByteArray
-
isBinary
public boolean isBinary
-
isFile
public boolean isFile
-
isBoolean
public boolean isBoolean
-
isDate
public boolean isDate
-
isDateTime
public boolean isDateTime
-
isUuid
public boolean isUuid
-
isUri
public boolean isUri
-
isEmail
public boolean isEmail
-
isPassword
public boolean isPassword
-
isNull
public boolean isNull
-
isVoid
public boolean isVoid
-
isFreeFormObject
public boolean isFreeFormObject
The type is a free-form object, i.e. it is a map of string to values with no declared properties. A OAS free-form schema may include the 'additionalProperties' attribute, which puts a constraint on the type of the undeclared properties.
-
isAnyType
public boolean isAnyType
The 'type' in the OAS schema is unspecified (i.e. not set). The value can be number, integer, string, object or array. If the nullable attribute is set to true, the 'null' value is valid.
-
isArray
public boolean isArray
-
isMap
public boolean isMap
-
isEnum
public boolean isEnum
-
isInnerEnum
public boolean isInnerEnum
-
isEnumRef
public boolean isEnumRef
-
isReadOnly
public boolean isReadOnly
-
isWriteOnly
public boolean isWriteOnly
-
isNullable
public boolean isNullable
-
isSelfReference
public boolean isSelfReference
-
isCircularReference
public boolean isCircularReference
-
isDiscriminator
public boolean isDiscriminator
-
isNew
public boolean isNew
-
isOverridden
public Boolean isOverridden
-
items
public CodegenProperty items
-
additionalProperties
public CodegenProperty additionalProperties
-
vars
public List<CodegenProperty> vars
-
requiredVars
public List<CodegenProperty> requiredVars
-
mostInnerItems
public CodegenProperty mostInnerItems
-
hasValidation
public boolean hasValidation
-
isInherited
public boolean isInherited
-
discriminatorValue
public String discriminatorValue
-
nameInLowerCase
public String nameInLowerCase
-
nameInCamelCase
public String nameInCamelCase
-
nameInSnakeCase
public String nameInSnakeCase
-
enumName
public String enumName
-
maxItems
public Integer maxItems
-
minItems
public Integer minItems
-
isXmlAttribute
public boolean isXmlAttribute
-
xmlPrefix
public String xmlPrefix
-
xmlName
public String xmlName
-
xmlNamespace
public String xmlNamespace
-
isXmlWrapped
public boolean isXmlWrapped
-
-
Method Detail
-
getContains
public CodegenProperty getContains()
- Specified by:
getContainsin interfaceIJsonSchemaValidationProperties
-
setContains
public void setContains(CodegenProperty contains)
- Specified by:
setContainsin interfaceIJsonSchemaValidationProperties
-
getDependentRequired
public LinkedHashMap<String,List<String>> getDependentRequired()
- Specified by:
getDependentRequiredin interfaceIJsonSchemaValidationProperties
-
setDependentRequired
public void setDependentRequired(LinkedHashMap<String,List<String>> dependentRequired)
- Specified by:
setDependentRequiredin interfaceIJsonSchemaValidationProperties
-
setFormat
public void setFormat(String format)
- Specified by:
setFormatin interfaceIJsonSchemaValidationProperties
-
getFormat
public String getFormat()
- Specified by:
getFormatin interfaceIJsonSchemaValidationProperties
-
getIsBooleanSchemaTrue
public boolean getIsBooleanSchemaTrue()
- Specified by:
getIsBooleanSchemaTruein interfaceIJsonSchemaValidationProperties
-
setIsBooleanSchemaTrue
public void setIsBooleanSchemaTrue(boolean isBooleanSchemaTrue)
- Specified by:
setIsBooleanSchemaTruein interfaceIJsonSchemaValidationProperties
-
getIsBooleanSchemaFalse
public boolean getIsBooleanSchemaFalse()
- Specified by:
getIsBooleanSchemaFalsein interfaceIJsonSchemaValidationProperties
-
setIsBooleanSchemaFalse
public void setIsBooleanSchemaFalse(boolean isBooleanSchemaFalse)
- Specified by:
setIsBooleanSchemaFalsein interfaceIJsonSchemaValidationProperties
-
getOpenApiType
public String getOpenApiType()
-
getBaseName
public String getBaseName()
-
setBaseName
public void setBaseName(String baseName)
-
getComplexType
public String getComplexType()
- Specified by:
getComplexTypein interfaceIJsonSchemaValidationProperties- Returns:
- complex type that can contain type parameters - like
List<Items>for Java
-
setComplexType
public void setComplexType(String complexType)
-
getGetter
public String getGetter()
-
setGetter
public void setGetter(String getter)
-
getSetter
public String getSetter()
-
setSetter
public void setSetter(String setter)
-
getDescription
public String getDescription()
-
setDescription
public void setDescription(String description)
-
getDatatype
@Deprecated public String getDatatype()
Deprecated.since version 3.0.0, usegetDataType()instead.
May be removed with the next major release (4.0)- Returns:
- dataType
-
getDataType
public String getDataType()
-
setDatatype
public void setDatatype(String datatype)
-
getDatatypeWithEnum
public String getDatatypeWithEnum()
-
setDatatypeWithEnum
public void setDatatypeWithEnum(String datatypeWithEnum)
-
getDataFormat
public String getDataFormat()
-
setDataFormat
public void setDataFormat(String dataFormat)
-
getName
public String getName()
-
setName
public void setName(String name)
-
getMin
public String getMin()
-
setMin
public void setMin(String min)
-
getMax
public String getMax()
-
setMax
public void setMax(String max)
-
getDefaultValue
public String getDefaultValue()
-
setDefaultValue
public void setDefaultValue(String defaultValue)
-
getDefaultValueWithParam
public String getDefaultValueWithParam()
-
setDefaultValueWithParam
public void setDefaultValueWithParam(String defaultValueWithParam)
-
getBaseType
public String getBaseType()
- Specified by:
getBaseTypein interfaceIJsonSchemaValidationProperties- Returns:
- basic type - no generics supported.
-
setBaseType
public void setBaseType(String baseType)
-
getContainerType
public String getContainerType()
-
setContainerType
public void setContainerType(String containerType)
-
getContainerTypeMapped
public String getContainerTypeMapped()
-
setContainerTypeMapped
public void setContainerTypeMapped(String containerTypeMapped)
-
getTitle
public String getTitle()
-
setTitle
public void setTitle(String title)
-
getUnescapedDescription
public String getUnescapedDescription()
-
setUnescapedDescription
public void setUnescapedDescription(String unescapedDescription)
-
getSchemaIsFromAdditionalProperties
public boolean getSchemaIsFromAdditionalProperties()
- Specified by:
getSchemaIsFromAdditionalPropertiesin interfaceIJsonSchemaValidationProperties
-
setSchemaIsFromAdditionalProperties
public void setSchemaIsFromAdditionalProperties(boolean schemaIsFromAdditionalProperties)
- Specified by:
setSchemaIsFromAdditionalPropertiesin interfaceIJsonSchemaValidationProperties
-
getMaxLength
public Integer getMaxLength()
- Specified by:
getMaxLengthin interfaceIJsonSchemaValidationProperties
-
setMaxLength
public void setMaxLength(Integer maxLength)
- Specified by:
setMaxLengthin interfaceIJsonSchemaValidationProperties
-
getMinLength
public Integer getMinLength()
- Specified by:
getMinLengthin interfaceIJsonSchemaValidationProperties
-
setMinLength
public void setMinLength(Integer minLength)
- Specified by:
setMinLengthin interfaceIJsonSchemaValidationProperties
-
getPattern
public String getPattern()
- Specified by:
getPatternin interfaceIJsonSchemaValidationProperties
-
setPattern
public void setPattern(String pattern)
- Specified by:
setPatternin interfaceIJsonSchemaValidationProperties
-
getExample
public String getExample()
-
setExample
public void setExample(String example)
-
getJsonSchema
public String getJsonSchema()
-
setJsonSchema
public void setJsonSchema(String jsonSchema)
-
getMinimum
public String getMinimum()
- Specified by:
getMinimumin interfaceIJsonSchemaValidationProperties
-
setMinimum
public void setMinimum(String minimum)
- Specified by:
setMinimumin interfaceIJsonSchemaValidationProperties
-
getExclusiveMaximum
public boolean getExclusiveMaximum()
- Specified by:
getExclusiveMaximumin interfaceIJsonSchemaValidationProperties
-
getMaximum
public String getMaximum()
- Specified by:
getMaximumin interfaceIJsonSchemaValidationProperties
-
setMaximum
public void setMaximum(String maximum)
- Specified by:
setMaximumin interfaceIJsonSchemaValidationProperties
-
getExclusiveMinimum
public boolean getExclusiveMinimum()
- Specified by:
getExclusiveMinimumin interfaceIJsonSchemaValidationProperties
-
setExclusiveMinimum
public void setExclusiveMinimum(boolean exclusiveMinimum)
- Specified by:
setExclusiveMinimumin interfaceIJsonSchemaValidationProperties
-
getIExclusiveMaximum
public boolean getIExclusiveMaximum()
-
setExclusiveMaximum
public void setExclusiveMaximum(boolean exclusiveMaximum)
- Specified by:
setExclusiveMaximumin interfaceIJsonSchemaValidationProperties
-
getRequired
public boolean getRequired()
-
requiredAndNotNullable
public boolean requiredAndNotNullable()
-
notRequiredOrIsNullable
public boolean notRequiredOrIsNullable()
-
setRequired
public void setRequired(boolean required)
-
getItems
public CodegenProperty getItems()
- Specified by:
getItemsin interfaceIJsonSchemaValidationProperties
-
setItems
public void setItems(CodegenProperty items)
- Specified by:
setItemsin interfaceIJsonSchemaValidationProperties
-
getAdditionalProperties
public CodegenProperty getAdditionalProperties()
- Specified by:
getAdditionalPropertiesin interfaceIJsonSchemaValidationProperties
-
setAdditionalProperties
public void setAdditionalProperties(CodegenProperty additionalProperties)
- Specified by:
setAdditionalPropertiesin interfaceIJsonSchemaValidationProperties
-
getIsModel
public boolean getIsModel()
- Specified by:
getIsModelin interfaceIJsonSchemaValidationProperties
-
setIsModel
public void setIsModel(boolean isModel)
- Specified by:
setIsModelin interfaceIJsonSchemaValidationProperties
-
getIsDate
public boolean getIsDate()
- Specified by:
getIsDatein interfaceIJsonSchemaValidationProperties
-
setIsDate
public void setIsDate(boolean isDate)
- Specified by:
setIsDatein interfaceIJsonSchemaValidationProperties
-
getIsDateTime
public boolean getIsDateTime()
- Specified by:
getIsDateTimein interfaceIJsonSchemaValidationProperties
-
setIsDateTime
public void setIsDateTime(boolean isDateTime)
- Specified by:
setIsDateTimein interfaceIJsonSchemaValidationProperties
-
getIsMap
public boolean getIsMap()
- Specified by:
getIsMapin interfaceIJsonSchemaValidationProperties
-
setIsMap
public void setIsMap(boolean isMap)
- Specified by:
setIsMapin interfaceIJsonSchemaValidationProperties
-
getIsArray
public boolean getIsArray()
- Specified by:
getIsArrayin interfaceIJsonSchemaValidationProperties
-
setIsArray
public void setIsArray(boolean isArray)
- Specified by:
setIsArrayin interfaceIJsonSchemaValidationProperties
-
getIsShort
public boolean getIsShort()
- Specified by:
getIsShortin interfaceIJsonSchemaValidationProperties
-
setIsShort
public void setIsShort(boolean isShort)
- Specified by:
setIsShortin interfaceIJsonSchemaValidationProperties
-
getIsBoolean
public boolean getIsBoolean()
- Specified by:
getIsBooleanin interfaceIJsonSchemaValidationProperties
-
setIsBoolean
public void setIsBoolean(boolean isBoolean)
- Specified by:
setIsBooleanin interfaceIJsonSchemaValidationProperties
-
getIsUnboundedInteger
public boolean getIsUnboundedInteger()
- Specified by:
getIsUnboundedIntegerin interfaceIJsonSchemaValidationProperties
-
setIsUnboundedInteger
public void setIsUnboundedInteger(boolean isUnboundedInteger)
- Specified by:
setIsUnboundedIntegerin interfaceIJsonSchemaValidationProperties
-
getIsPrimitiveType
public boolean getIsPrimitiveType()
- Specified by:
getIsPrimitiveTypein interfaceIJsonSchemaValidationProperties
-
setIsPrimitiveType
public void setIsPrimitiveType(boolean isPrimitiveType)
- Specified by:
setIsPrimitiveTypein interfaceIJsonSchemaValidationProperties
-
getNameInLowerCase
public String getNameInLowerCase()
-
setNameInLowerCase
public void setNameInLowerCase(String nameInLowerCase)
-
getNameInCamelCase
public String getNameInCamelCase()
-
setNameInCamelCase
public void setNameInCamelCase(String nameInCamelCase)
-
getNameInSnakeCase
public String getNameInSnakeCase()
-
getEnumName
public String getEnumName()
-
setEnumName
public void setEnumName(String enumName)
-
getMaxItems
public Integer getMaxItems()
- Specified by:
getMaxItemsin interfaceIJsonSchemaValidationProperties
-
setMaxItems
public void setMaxItems(Integer maxItems)
- Specified by:
setMaxItemsin interfaceIJsonSchemaValidationProperties
-
getMinItems
public Integer getMinItems()
- Specified by:
getMinItemsin interfaceIJsonSchemaValidationProperties
-
setMinItems
public void setMinItems(Integer minItems)
- Specified by:
setMinItemsin interfaceIJsonSchemaValidationProperties
-
getXmlPrefix
public String getXmlPrefix()
-
setXmlPrefix
public void setXmlPrefix(String xmlPrefix)
-
getXmlName
public String getXmlName()
-
setXmlName
public void setXmlName(String xmlName)
-
getXmlNamespace
public String getXmlNamespace()
-
setXmlNamespace
public void setXmlNamespace(String xmlNamespace)
-
setComposedSchemas
public void setComposedSchemas(CodegenComposedSchemas composedSchemas)
- Specified by:
setComposedSchemasin interfaceIJsonSchemaValidationProperties
-
getComposedSchemas
public CodegenComposedSchemas getComposedSchemas()
- Specified by:
getComposedSchemasin interfaceIJsonSchemaValidationProperties
-
setRef
public void setRef(String ref)
- Specified by:
setRefin interfaceIJsonSchemaValidationProperties
-
getRef
public String getRef()
- Specified by:
getRefin interfaceIJsonSchemaValidationProperties
-
clone
public CodegenProperty clone()
-
getUniqueItems
public boolean getUniqueItems()
- Specified by:
getUniqueItemsin interfaceIJsonSchemaValidationProperties
-
setUniqueItems
public void setUniqueItems(boolean uniqueItems)
- Specified by:
setUniqueItemsin interfaceIJsonSchemaValidationProperties
-
getUniqueItemsBoolean
public Boolean getUniqueItemsBoolean()
- Specified by:
getUniqueItemsBooleanin interfaceIJsonSchemaValidationProperties
-
setUniqueItemsBoolean
public void setUniqueItemsBoolean(Boolean uniqueItemsBoolean)
- Specified by:
setUniqueItemsBooleanin interfaceIJsonSchemaValidationProperties
-
getMinProperties
public Integer getMinProperties()
- Specified by:
getMinPropertiesin interfaceIJsonSchemaValidationProperties
-
setMinProperties
public void setMinProperties(Integer minProperties)
- Specified by:
setMinPropertiesin interfaceIJsonSchemaValidationProperties
-
getMaxProperties
public Integer getMaxProperties()
- Specified by:
getMaxPropertiesin interfaceIJsonSchemaValidationProperties
-
setMaxProperties
public void setMaxProperties(Integer maxProperties)
- Specified by:
setMaxPropertiesin interfaceIJsonSchemaValidationProperties
-
getMultipleOf
public Number getMultipleOf()
- Specified by:
getMultipleOfin interfaceIJsonSchemaValidationProperties
-
setMultipleOf
public void setMultipleOf(Number multipleOf)
- Specified by:
setMultipleOfin interfaceIJsonSchemaValidationProperties
-
getVars
public List<CodegenProperty> getVars()
- Specified by:
getVarsin interfaceIJsonSchemaValidationProperties
-
setVars
public void setVars(List<CodegenProperty> vars)
- Specified by:
setVarsin interfaceIJsonSchemaValidationProperties
-
getRequiredVars
public List<CodegenProperty> getRequiredVars()
- Specified by:
getRequiredVarsin interfaceIJsonSchemaValidationProperties
-
setRequiredVars
public void setRequiredVars(List<CodegenProperty> requiredVars)
- Specified by:
setRequiredVarsin interfaceIJsonSchemaValidationProperties
-
getIsNull
public boolean getIsNull()
- Specified by:
getIsNullin interfaceIJsonSchemaValidationProperties
-
setIsNull
public void setIsNull(boolean isNull)
- Specified by:
setIsNullin interfaceIJsonSchemaValidationProperties
-
getIsVoid
public boolean getIsVoid()
- Specified by:
getIsVoidin interfaceIJsonSchemaValidationProperties
-
setIsVoid
public void setIsVoid(boolean isVoid)
- Specified by:
setIsVoidin interfaceIJsonSchemaValidationProperties
-
getHasValidation
public boolean getHasValidation()
- Specified by:
getHasValidationin interfaceIJsonSchemaValidationProperties
-
setHasValidation
public void setHasValidation(boolean hasValidation)
- Specified by:
setHasValidationin interfaceIJsonSchemaValidationProperties
-
getAdditionalPropertiesIsAnyType
public boolean getAdditionalPropertiesIsAnyType()
- Specified by:
getAdditionalPropertiesIsAnyTypein interfaceIJsonSchemaValidationProperties
-
setAdditionalPropertiesIsAnyType
public void setAdditionalPropertiesIsAnyType(boolean additionalPropertiesIsAnyType)
- Specified by:
setAdditionalPropertiesIsAnyTypein interfaceIJsonSchemaValidationProperties
-
getHasVars
public boolean getHasVars()
- Specified by:
getHasVarsin interfaceIJsonSchemaValidationProperties
-
setHasVars
public void setHasVars(boolean hasVars)
- Specified by:
setHasVarsin interfaceIJsonSchemaValidationProperties
-
getHasRequired
public boolean getHasRequired()
- Specified by:
getHasRequiredin interfaceIJsonSchemaValidationProperties
-
setHasRequired
public void setHasRequired(boolean hasRequired)
- Specified by:
setHasRequiredin interfaceIJsonSchemaValidationProperties
-
getHasDiscriminatorWithNonEmptyMapping
public boolean getHasDiscriminatorWithNonEmptyMapping()
- Specified by:
getHasDiscriminatorWithNonEmptyMappingin interfaceIJsonSchemaValidationProperties
-
setHasDiscriminatorWithNonEmptyMapping
public void setHasDiscriminatorWithNonEmptyMapping(boolean hasDiscriminatorWithNonEmptyMapping)
- Specified by:
setHasDiscriminatorWithNonEmptyMappingin interfaceIJsonSchemaValidationProperties
-
getHasItems
public boolean getHasItems()
-
getIsString
public boolean getIsString()
- Specified by:
getIsStringin interfaceIJsonSchemaValidationProperties
-
setIsString
public void setIsString(boolean isString)
- Specified by:
setIsStringin interfaceIJsonSchemaValidationProperties
-
getIsNumber
public boolean getIsNumber()
- Specified by:
getIsNumberin interfaceIJsonSchemaValidationProperties
-
setIsNumber
public void setIsNumber(boolean isNumber)
- Specified by:
setIsNumberin interfaceIJsonSchemaValidationProperties
-
getIsAnyType
public boolean getIsAnyType()
- Specified by:
getIsAnyTypein interfaceIJsonSchemaValidationProperties
-
setIsAnyType
public void setIsAnyType(boolean isAnyType)
- Specified by:
setIsAnyTypein interfaceIJsonSchemaValidationProperties
-
getIsFreeFormObject
public boolean getIsFreeFormObject()
- Specified by:
getIsFreeFormObjectin interfaceIJsonSchemaValidationProperties
-
setIsFreeFormObject
public void setIsFreeFormObject(boolean isFreeFormObject)
- Specified by:
setIsFreeFormObjectin interfaceIJsonSchemaValidationProperties
-
getHasMultipleTypes
public boolean getHasMultipleTypes()
- Specified by:
getHasMultipleTypesin interfaceIJsonSchemaValidationProperties
-
setHasMultipleTypes
public void setHasMultipleTypes(boolean hasMultipleTypes)
- Specified by:
setHasMultipleTypesin interfaceIJsonSchemaValidationProperties
-
getIsUuid
public boolean getIsUuid()
-
setIsUuid
public void setIsUuid(boolean isUuid)
-
getRequiredVarsMap
public Map<String,CodegenProperty> getRequiredVarsMap()
- Specified by:
getRequiredVarsMapin interfaceIJsonSchemaValidationProperties
-
setRequiredVarsMap
public void setRequiredVarsMap(Map<String,CodegenProperty> requiredVarsMap)
- Specified by:
setRequiredVarsMapin interfaceIJsonSchemaValidationProperties
-
getIsEnumOrRef
public boolean getIsEnumOrRef()
Return true if it's an enum (inline or ref)- Returns:
- true if it's an enum (inline or ref)
-
-