Class HttpPartSchema.Builder
- Enclosing class:
- HttpPartSchema
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptiondefault field._enum field.enum field.additionalProperties field.additionalProperties field.aev()Synonym forallowEmptyValue().Synonym forallowEmptyValue(Boolean).Synonym forallowEmptyValue(String).allowEmptyValue field.allowEmptyValue(Boolean value) allowEmptyValue field.allowEmptyValue(String value) allowEmptyValue field.ap(HttpPartSchema value) Shortcut foradditionalProperties(value) ap(HttpPartSchema.Builder value) Shortcut foradditionalProperties(value) apply(Annotation a) Apply the specified annotation to this schema.build()Instantiates a newHttpPartSchemaobject based on the configuration of this builder.Synonym forcollectionFormat(String).cf(HttpPartCollectionFormat value) Synonym forcollectionFormat(HttpPartCollectionFormat).cfCsv()Shortcut forcollectionFormat(HttpPartCollectionFormat.CSV) .cfMulti()Shortcut forcollectionFormat(HttpPartCollectionFormat.MULTI) .cfNone()Shortcut forcollectionFormat(HttpPartCollectionFormat.NO_COLLECTION_FORMAT) .cfPipes()Shortcut forcollectionFormat(HttpPartCollectionFormat.PIPES) .cfSsv()Shortcut forcollectionFormat(HttpPartCollectionFormat.SSV) .cfTsv()Shortcut forcollectionFormat(HttpPartCollectionFormat.TSV) .cfUon()Shortcut forcollectionFormat(HttpPartCollectionFormat.UONC) .code(int value) httpStatusCode key.codes(int[] value) httpStatusCode key.collectionFormat(String value) collectionFormat field.collectionFormat field.Synonym for_default(String).Synonym for_enum(String...).Synonym for_enum(Set).emax()Synonym forexclusiveMaximum().Synonym forexclusiveMaximum(Boolean).Synonym forexclusiveMaximum(String).emin()Synonym forexclusiveMinimum().Synonym forexclusiveMinimum(Boolean).Synonym forexclusiveMinimum(String).exclusiveMaximum field.exclusiveMaximum(Boolean value) exclusiveMaximum field.exclusiveMaximum(String value) exclusiveMaximum field.exclusiveMinimum field.exclusiveMinimum(Boolean value) exclusiveMinimum field.exclusiveMinimum(String value) exclusiveMinimum field.Synonym forformat(String).f(HttpPartFormat value) Synonym forformat(HttpPartFormat).fBinary()Shortcut forformat(HttpPartFormat.BINARY) .Shortcut forformat(HttpPartFormat.BINARY_SPACED) .fByte()Shortcut forformat(HttpPartFormat.BYTE) .fDate()Shortcut forformat(HttpPartFormat.DATE) .Shortcut forformat(HttpPartFormat.DATE_TIME) .fDouble()Shortcut forformat(HttpPartFormat.DOUBLE) .fFloat()Shortcut forformat(HttpPartFormat.FLOAT) .fInt32()Shortcut forformat(HttpPartFormat.INT32) .fInt64()Shortcut forformat(HttpPartFormat.INT64) .fNone()Shortcut forformat(HttpPartFormat.NO_FORMAT) .format field.format(HttpPartFormat value) format field.Shortcut forformat(HttpPartFormat.PASSWORD) .fUon()Shortcut forformat(HttpPartFormat.UON) .i(HttpPartSchema value) Synonym foritems(HttpPartSchema).i(HttpPartSchema.Builder value) Synonym foritems(HttpPartSchema.Builder).items(HttpPartSchema value) items field.items(HttpPartSchema.Builder value) items field.Synonym formaximum(Number).Synonym formaxItems(Long).Synonym formaxItems(String).maximum field.maxItems field.maxItems field.Synonym formaxLength(Long).Synonym formaxLength(String).maxLength field.maxLength field.Synonym formaxProperties(Long).Synonym formaxProperties(String).maxProperties(Long value) mapProperties field.maxProperties(String value) mapProperties field.Synonym forminimum(Number).Synonym forminItems(Long).Synonym forminItems(String).minimum field.minItems field.minItems field.Synonym forminLength(Long).Synonym forminLength(String).minLength field.minLength field.Synonym forminProperties(Long).Synonym forminProperties(String).minProperties(Long value) minProperties field.minProperties(String value) minProperties field.Synonym formultipleOf(Number).multipleOf(Number value) multipleOf field.Synonym forname(String).name field.Disables Swagger schema usage validation checking.noValidate(Boolean value) Disables Swagger schema usage validation checking.Synonym forpattern(String).p(String key, HttpPartSchema value) Shortcut forproperty(key, value) .p(String key, HttpPartSchema.Builder value) Shortcut forproperty(key, value) .parser(Class<? extends HttpPartParser> value) Identifies the part parser to use for parsing this part.pattern field.property(String key, HttpPartSchema value) properties field.property(String key, HttpPartSchema.Builder value) properties field.r()Synonym forrequired().Synonym forrequired(Boolean).Synonym forrequired(String).required()required field.required field.required field.serializer(Class<? extends HttpPartSerializer> value) Identifies the part serializer to use for serializing this part.sie()Synonym forskipIfEmpty().Synonym forskipIfEmpty(Boolean).Synonym forskipIfEmpty(String).Identifies whether an item should be skipped if it's empty.skipIfEmpty(Boolean value) skipIfEmpty field.skipIfEmpty(String value) skipIfEmpty field.Synonym fortype(String).t(HttpPartDataType value) Synonym fortype(HttpPartDataType).tArray()Shortcut fortype(HttpPartDataType.ARRAY) .tBoolean()Shortcut fortype(HttpPartDataType.BOOLEAN) .tFile()Shortcut fortype(HttpPartDataType.FILE) .tInteger()Shortcut fortype(HttpPartDataType.INTEGER) .tNone()Shortcut fortype(HttpPartDataType.NO_TYPE) .tNumber()Shortcut fortype(HttpPartDataType.NUMBER) .tObject()Shortcut fortype(HttpPartDataType.OBJECT) .tString()Shortcut fortype(HttpPartDataType.STRING) .type field.type(HttpPartDataType value) type field.ui()Synonym foruniqueItems().Synonym foruniqueItems(Boolean).Synonym foruniqueItems(String).uniqueItems field.uniqueItems(Boolean value) uniqueItems field.uniqueItems(String value) uniqueItems field.
- 
Constructor Details- 
Builderpublic Builder()
 
- 
- 
Method Details- 
buildInstantiates a newHttpPartSchemaobject based on the configuration of this builder.This method can be called multiple times to produce new schema objects. - Returns:
- A new HttpPartSchemaobject.
 Nevernull .
 
- 
applyApply the specified annotation to this schema.- Parameters:
- a- The annotation to apply.
- Returns:
- This object.
 
- 
name- Parameters:
- value- The new value for this property.
- Returns:
- This object.
 
- 
nSynonym forname(String).- Parameters:
- value- The new value for this property.
- Returns:
- This object.
 
- 
codes- Parameters:
- value- The new value for this property.
 Ignored if- null or an empty array.
- Returns:
- This object.
 
- 
code- Parameters:
- value- The new value for this property.
 Ignored if value is- 0 .
- Returns:
- This object.
 
- 
requiredrequired field.Determines whether the parameter is mandatory. Applicable to the following Swagger schema objects: - Parameters:
- value- The new value for this property.
 Ignored if value is- null .
- Returns:
- This object.
 
- 
rSynonym forrequired(Boolean).- Parameters:
- value- The new value for this property.
- Returns:
- This object.
 
- 
requiredrequired field.Determines whether the parameter is mandatory. Same as required(Boolean)but takes in a boolean value as a string.- Parameters:
- value- The new value for this property.
 Ignored if value is- null or empty.
- Returns:
- This object.
 
- 
rSynonym forrequired(String).- Parameters:
- value- The new value for this property.
- Returns:
- This object.
 
- 
requiredrequired field.Shortcut for calling required(.true );- Returns:
- This object.
 
- 
rSynonym forrequired().- Returns:
- This object.
 
- 
typetype field.The type of the parameter. If the type is not specified, it will be auto-detected based on the parameter class type. Applicable to the following Swagger schema objects: - 
      "string" 
 Parameter must be a string or a POJO convertible from a string.
- 
      "number" 
 Parameter must be a number primitive or number object.
 If parameter isObject , creates either aFloat orDouble depending on the size of the number.
- 
      "integer" 
 Parameter must be a integer/long primitive or integer/long object.
 If parameter isObject , creates either aShort ,Integer , orLong depending on the size of the number.
- 
      "boolean" 
 Parameter must be a boolean primitive or object.
- 
      "array" 
 Parameter must be an array or collection.
 Elements must be strings or POJOs convertible from strings.
 If parameter isObject , creates anJsonList.
- 
      "object" 
 Parameter must be a map or bean.
 If parameter isObject , creates anJsonMap.
 Note that this is an extension of the OpenAPI schema as Juneau allows for arbitrarily-complex POJOs to be serialized as HTTP parts.
- 
      "file" 
 This type is currently not supported.
 See Also:- Parameters:
- value- The new value for this property.
 Ignored if value is- null or empty.
- Returns:
- This object.
 
- 
      
- 
tSynonym fortype(String).- Parameters:
- value- The new value for this property.
- Returns:
- This object.
 
- 
tStringShortcut fortype(HttpPartDataType.STRING) .- Returns:
- This object.
 
- 
tNumberShortcut fortype(HttpPartDataType.NUMBER) .- Returns:
- This object.
 
- 
tIntegerShortcut fortype(HttpPartDataType.INTEGER) .- Returns:
- This object.
 
- 
tBooleanShortcut fortype(HttpPartDataType.BOOLEAN) .- Returns:
- This object.
 
- 
tArrayShortcut fortype(HttpPartDataType.ARRAY) .- Returns:
- This object.
 
- 
tObjectShortcut fortype(HttpPartDataType.OBJECT) .- Returns:
- This object.
 
- 
tFileShortcut fortype(HttpPartDataType.FILE) .- Returns:
- This object.
 
- 
tNoneShortcut fortype(HttpPartDataType.NO_TYPE) .- Returns:
- This object.
 
- 
typetype field.The type of the parameter. If the type is not specified, it will be auto-detected based on the parameter class type. Applicable to the following Swagger schema objects: - HttpPartDataType- 
         STRING
 Parameter must be a string or a POJO convertible from a string.
- 
         NUMBER
 Parameter must be a number primitive or number object.
 If parameter isObject , creates either aFloat orDouble depending on the size of the number.
- 
         INTEGER
 Parameter must be a integer/long primitive or integer/long object.
 If parameter isObject , creates either aShort ,Integer , orLong depending on the size of the number.
- 
         BOOLEAN
 Parameter must be a boolean primitive or object.
- 
         ARRAY
 Parameter must be an array or collection.
 Elements must be strings or POJOs convertible from strings.
 If parameter isObject , creates anJsonList.
- 
         OBJECT
 Parameter must be a map or bean.
 If parameter isObject , creates anJsonMap.
 Note that this is an extension of the OpenAPI schema as Juneau allows for arbitrarily-complex POJOs to be serialized as HTTP parts.
- 
         FILE
 This type is currently not supported.
 
- 
         
 See Also:- Parameters:
- value- The new value for this property.
- Returns:
- This object.
 
- 
tSynonym fortype(HttpPartDataType).- Parameters:
- value- The new value for this property.
- Returns:
- This object.
 
- 
formatformat field.The extending format for the previously mentioned parameter type. Applicable to the following Swagger schema objects: - 
      "int32" - Signed 32 bits.
 Only valid with type"integer" .
- 
      "int64" - Signed 64 bits.
 Only valid with type"integer" .
- 
      "float" - 32-bit floating point number.
 Only valid with type"number" .
- 
      "double" - 64-bit floating point number.
 Only valid with type"number" .
- 
      "byte" - BASE-64 encoded characters.
 Only valid with type"string" .
 Parameters of type POJO convertible from string are converted after the string has been decoded.
- 
      "binary" - Hexadecimal encoded octets (e.g."00FF" ).
 Only valid with type"string" .
 Parameters of type POJO convertible from string are converted after the string has been decoded.
- 
      "binary-spaced" - Hexadecimal encoded octets, spaced (e.g."00 FF" ).
 Only valid with type"string" .
 Parameters of type POJO convertible from string are converted after the string has been decoded.
- 
      "date" - An RFC3339 full-date.
 Only valid with type"string" .
- 
      "date-time" - An RFC3339 date-time.
 Only valid with type"string" .
- 
      "password" - Used to hint UIs the input needs to be obscured.
 This format does not affect the serialization or parsing of the parameter.
- 
      "uon" - UON notation (e.g."(foo=bar,baz=@(qux,123))" ).
 Only valid with type"object" .
 If not specified, then the input is interpreted as plain-text and is converted to a POJO directly.
 See Also:- Parameters:
- value- The new value for this property.
 Ignored if value is- null or an empty string.
- Returns:
- This object.
 
- 
      
- 
fSynonym forformat(String).- Parameters:
- value- The new value for this property.
- Returns:
- This object.
 
- 
formatformat field.The extending format for the previously mentioned parameter type. Applicable to the following Swagger schema objects: - 
         INT32- Signed 32 bits.
 Only valid with type"integer" .
- 
         INT64- Signed 64 bits.
 Only valid with type"integer" .
- 
         FLOAT- 32-bit floating point number.
 Only valid with type"number" .
- 
         DOUBLE- 64-bit floating point number.
 Only valid with type"number" .
- 
         BYTE- BASE-64 encoded characters.
 Only valid with type"string" .
 Parameters of type POJO convertible from string are converted after the string has been decoded.
- 
         BINARY- Hexadecimal encoded octets (e.g."00FF" ).
 Only valid with type"string" .
 Parameters of type POJO convertible from string are converted after the string has been decoded.
- 
         BINARY_SPACED- Hexadecimal encoded octets, spaced (e.g."00 FF" ).
 Only valid with type"string" .
 Parameters of type POJO convertible from string are converted after the string has been decoded.
- 
         DATE- An RFC3339 full-date.
 Only valid with type"string" .
- 
         DATE_TIME- An RFC3339 date-time.
 Only valid with type"string" .
- 
         PASSWORD- Used to hint UIs the input needs to be obscured.
 This format does not affect the serialization or parsing of the parameter.
- 
         UON- UON notation (e.g."(foo=bar,baz=@(qux,123))" ).
 Only valid with type"object" .
 If not specified, then the input is interpreted as plain-text and is converted to a POJO directly.
 HttpPartFormatSee Also:- Parameters:
- value- The new value for this property.
- Returns:
- This object.
 
- 
         
- 
fSynonym forformat(HttpPartFormat).- Parameters:
- value- The new value for this property.
- Returns:
- This object.
 
- 
fInt32Shortcut forformat(HttpPartFormat.INT32) .- Returns:
- This object.
 
- 
fInt64Shortcut forformat(HttpPartFormat.INT64) .- Returns:
- This object.
 
- 
fFloatShortcut forformat(HttpPartFormat.FLOAT) .- Returns:
- This object.
 
- 
fDoubleShortcut forformat(HttpPartFormat.DOUBLE) .- Returns:
- This object.
 
- 
fByteShortcut forformat(HttpPartFormat.BYTE) .- Returns:
- This object.
 
- 
fBinaryShortcut forformat(HttpPartFormat.BINARY) .- Returns:
- This object.
 
- 
fBinarySpacedShortcut forformat(HttpPartFormat.BINARY_SPACED) .- Returns:
- This object.
 
- 
fDateShortcut forformat(HttpPartFormat.DATE) .- Returns:
- This object.
 
- 
fDateTimeShortcut forformat(HttpPartFormat.DATE_TIME) .- Returns:
- This object.
 
- 
fPasswordShortcut forformat(HttpPartFormat.PASSWORD) .- Returns:
- This object.
 
- 
fUonShortcut forformat(HttpPartFormat.UON) .- Returns:
- This object.
 
- 
fNoneShortcut forformat(HttpPartFormat.NO_FORMAT) .- Returns:
- This object.
 
- 
allowEmptyValueallowEmptyValue field.Sets the ability to pass empty-valued parameters. 
 This is valid only for either query or formData parameters and allows you to send a parameter with a name only or an empty value.
 The default value isfalse .Applicable to the following Swagger schema objects: - Parameters:
- value- The new value for this property.
 Ignored if value is- null .
- Returns:
- This object.
 
- 
aevSynonym forallowEmptyValue(Boolean).- Parameters:
- value- The new value for this property.
- Returns:
- This object.
 
- 
allowEmptyValueallowEmptyValue field.Same as allowEmptyValue(Boolean)but takes in a string boolean value.- Parameters:
- value- The new value for this property.
 Ignored if value is- null or empty.
- Returns:
- This object.
 
- 
aevSynonym forallowEmptyValue(String).- Parameters:
- value- The new value for this property.
- Returns:
- This object.
 
- 
allowEmptyValueallowEmptyValue field.Shortcut for calling allowEmptyValue(.true );- Returns:
- This object.
 
- 
aevSynonym forallowEmptyValue().- Returns:
- This object.
 
- 
itemsitems field.Describes the type of items in the array. Required if type is"array" .
 Can only be used iftype is"array" .Applicable to the following Swagger schema objects: - Parameters:
- value- The new value for this property.
 Ignored if value is- null or empty.
- Returns:
- This object.
 
- 
iSynonym foritems(HttpPartSchema.Builder).- Parameters:
- value- The new value for this property.
- Returns:
- This object.
 
- 
itemsitems field.Describes the type of items in the array. Required if type is"array" .
 Can only be used iftype is"array" .Applicable to the following Swagger schema objects: - Parameters:
- value- The new value for this property.
 Ignored if value is- null or empty.
- Returns:
- This object.
 
- 
iSynonym foritems(HttpPartSchema).- Parameters:
- value- The new value for this property.
- Returns:
- This object.
 
- 
collectionFormatcollectionFormat field.Determines the format of the array if type "array" is used.
 Can only be used iftype is"array" .Applicable to the following Swagger schema objects: Note that for collections/arrays parameters with POJO element types, the input is broken into a string array before being converted into POJO elements. - 
      "csv" (default) - Comma-separated values (e.g."foo,bar" ).
- 
      "ssv" - Space-separated values (e.g."foo bar" ).
- 
      "tsv" - Tab-separated values (e.g."foo\tbar" ).
- 
      "pipes - Pipe-separated values (e.g."foo|bar" ).
- 
      "multi" - Corresponds to multiple parameter instances instead of multiple values for a single instance (e.g."foo=bar&foo=baz" ).
- 
      "uon" - UON notation (e.g."@(foo,bar)" ).
 - Parameters:
- value- The new value for this property.
 Ignored if value is- null or empty.
- Returns:
- This object.
 
- 
      
- 
cfSynonym forcollectionFormat(String).- Parameters:
- value- The new value for this property.
- Returns:
- This object.
 
- 
collectionFormatcollectionFormat field.Determines the format of the array if type "array" is used.
 Can only be used iftype is"array" .Applicable to the following Swagger schema objects: Note that for collections/arrays parameters with POJO element types, the input is broken into a string array before being converted into POJO elements. - 
         CSV(default) - Comma-separated values (e.g."foo,bar" ).
- 
         SSV- Space-separated values (e.g."foo bar" ).
- 
         TSV- Tab-separated values (e.g."foo\tbar" ).
- 
         PIPES- Pipe-separated values (e.g."foo|bar" ).
- 
         MULTI- Corresponds to multiple parameter instances instead of multiple values for a single instance (e.g."foo=bar&foo=baz" ).
- 
         UONC- UON collection notation (e.g."@(foo,bar)" ).
 HttpPartCollectionFormat- Parameters:
- value- The new value for this property.
- Returns:
- This object.
 
- 
         
- 
cfSynonym forcollectionFormat(HttpPartCollectionFormat).- Parameters:
- value- The new value for this property.
- Returns:
- This object.
 
- 
cfCsvShortcut forcollectionFormat(HttpPartCollectionFormat.CSV) .- Returns:
- This object.
 
- 
cfSsvShortcut forcollectionFormat(HttpPartCollectionFormat.SSV) .- Returns:
- This object.
 
- 
cfTsvShortcut forcollectionFormat(HttpPartCollectionFormat.TSV) .- Returns:
- This object.
 
- 
cfPipesShortcut forcollectionFormat(HttpPartCollectionFormat.PIPES) .- Returns:
- This object.
 
- 
cfMultiShortcut forcollectionFormat(HttpPartCollectionFormat.MULTI) .- Returns:
- This object.
 
- 
cfUonShortcut forcollectionFormat(HttpPartCollectionFormat.UONC) .- Returns:
- This object.
 
- 
cfNoneShortcut forcollectionFormat(HttpPartCollectionFormat.NO_COLLECTION_FORMAT) .- Returns:
- This object.
 
- 
_defaultdefault field.Declares the value of the parameter that the server will use if none is provided, for example a "count" to control the number of results per page might default to 100 if not supplied by the client in the request. 
 (Note: "default" has no meaning for required parameters.)Applicable to the following Swagger schema objects: - Parameters:
- value- The new value for this property.
 Ignored if value is- null .
- Returns:
- This object.
 
- 
dfSynonym for_default(String).- Parameters:
- value- The new value for this property.
- Returns:
- This object.
 
- 
maximummaximum field.Defines the maximum value for a parameter of numeric types. Only allowed for the following types: "integer" ,"number" .Applicable to the following Swagger schema objects: - Parameters:
- value- The new value for this property.
 Ignored if value is- null .
- Returns:
- This object.
 
- 
maxSynonym formaximum(Number).- Parameters:
- value- The new value for this property.
- Returns:
- This object.
 
- 
exclusiveMaximumexclusiveMaximum field.Defines whether the maximum is matched exclusively. Only allowed for the following types: "integer" ,"number" .
 Iftrue , must be accompanied withmaximum .Applicable to the following Swagger schema objects: - Parameters:
- value- The new value for this property.
 Ignored if value is- null .
- Returns:
- This object.
 
- 
emaxSynonym forexclusiveMaximum(Boolean).- Parameters:
- value- The new value for this property.
- Returns:
- This object.
 
- 
exclusiveMaximumexclusiveMaximum field.Same as exclusiveMaximum(Boolean)but takes in a string boolean value.- Parameters:
- value- The new value for this property.
 Ignored if value is- null or empty.
- Returns:
- This object.
 
- 
emaxSynonym forexclusiveMaximum(String).- Parameters:
- value- The new value for this property.
- Returns:
- This object.
 
- 
exclusiveMaximumexclusiveMaximum field.Shortcut for calling exclusiveMaximum(.true );- Returns:
- This object.
 
- 
emaxSynonym forexclusiveMaximum().- Returns:
- This object.
 
- 
minimumminimum field.Defines the minimum value for a parameter of numeric types. Only allowed for the following types: "integer" ,"number" .Applicable to the following Swagger schema objects: - Parameters:
- value- The new value for this property.
 Ignored if value is- null .
- Returns:
- This object.
 
- 
minSynonym forminimum(Number).- Parameters:
- value- The new value for this property.
- Returns:
- This object.
 
- 
exclusiveMinimumexclusiveMinimum field.Defines whether the minimum is matched exclusively. Only allowed for the following types: "integer" ,"number" .
 Iftrue , must be accompanied withminimum .Applicable to the following Swagger schema objects: - Parameters:
- value- The new value for this property.
 Ignored if value is- null .
- Returns:
- This object.
 
- 
eminSynonym forexclusiveMinimum(Boolean).- Parameters:
- value- The new value for this property.
- Returns:
- This object.
 
- 
exclusiveMinimumexclusiveMinimum field.Same as exclusiveMinimum(Boolean)but takes in a string boolean value.- Parameters:
- value- The new value for this property.
 Ignored if value is- null or empty.
- Returns:
- This object.
 
- 
eminSynonym forexclusiveMinimum(String).- Parameters:
- value- The new value for this property.
- Returns:
- This object.
 
- 
exclusiveMinimumexclusiveMinimum field.Shortcut for calling exclusiveMinimum(.true );- Returns:
- This object.
 
- 
eminSynonym forexclusiveMinimum().- Returns:
- This object.
 
- 
maxLengthmaxLength field.A string instance is valid against this keyword if its length is less than, or equal to, the value of this keyword. 
 The length of a string instance is defined as the number of its characters as defined by RFC 4627.Only allowed for the following types: "string" .Applicable to the following Swagger schema objects: - Parameters:
- value- The new value for this property.
 Ignored if value is- null or- -1 .
- Returns:
- This object.
 
- 
maxlSynonym formaxLength(Long).- Parameters:
- value- The new value for this property.
- Returns:
- This object.
 
- 
maxLengthmaxLength field.Same as maxLength(Long)but takes in a string number.- Parameters:
- value- The new value for this property.
 Ignored if value is- null or empty.
- Returns:
- This object.
 
- 
maxlSynonym formaxLength(String).- Parameters:
- value- The new value for this property.
- Returns:
- This object.
 
- 
minLengthminLength field.A string instance is valid against this keyword if its length is greater than, or equal to, the value of this keyword. 
 The length of a string instance is defined as the number of its characters as defined by RFC 4627.Only allowed for the following types: "string" .Applicable to the following Swagger schema objects: - Parameters:
- value- The new value for this property.
 Ignored if value is- null or- -1 .
- Returns:
- This object.
 
- 
minlSynonym forminLength(Long).- Parameters:
- value- The new value for this property.
- Returns:
- This object.
 
- 
minLengthminLength field.Same as minLength(Long)but takes in a string number.- Parameters:
- value- The new value for this property.
 Ignored if value is- null or empty.
- Returns:
- This object.
 
- 
minlSynonym forminLength(String).- Parameters:
- value- The new value for this property.
- Returns:
- This object.
 
- 
patternpattern field.A string input is valid if it matches the specified regular expression pattern. Only allowed for the following types: "string" .Applicable to the following Swagger schema objects: - Parameters:
- value- The new value for this property.
 Ignored if value is- null or empty.
- Returns:
- This object.
 
- 
pSynonym forpattern(String).- Parameters:
- value- The new value for this property.
- Returns:
- This object.
 
- 
maxItemsmaxItems field.An array or collection is valid if its size is less than, or equal to, the value of this keyword. Only allowed for the following types: "array" .Applicable to the following Swagger schema objects: - Parameters:
- value- The new value for this property.
 Ignored if value is- null or- -1 .
- Returns:
- This object.
 
- 
maxiSynonym formaxItems(Long).- Parameters:
- value- The new value for this property.
- Returns:
- This object.
 
- 
maxItemsmaxItems field.Same as maxItems(Long)but takes in a string number.- Parameters:
- value- The new value for this property.
 Ignored if value is- null or empty.
- Returns:
- This object.
 
- 
maxiSynonym formaxItems(String).- Parameters:
- value- The new value for this property.
- Returns:
- This object.
 
- 
minItemsminItems field.An array or collection is valid if its size is greater than, or equal to, the value of this keyword. Only allowed for the following types: "array" .Applicable to the following Swagger schema objects: - Parameters:
- value- The new value for this property.
 Ignored if value is- null or- -1 .
- Returns:
- This object.
 
- 
miniSynonym forminItems(Long).- Parameters:
- value- The new value for this property.
- Returns:
- This object.
 
- 
minItemsminItems field.Same as minItems(Long)but takes in a string number.- Parameters:
- value- The new value for this property.
 Ignored if value is- null or empty.
- Returns:
- This object.
 
- 
miniSynonym forminItems(String).- Parameters:
- value- The new value for this property.
- Returns:
- This object.
 
- 
uniqueItemsuniqueItems field.If true , the input validates successfully if all of its elements are unique.
 If the parameter type is a subclass ofSet, this validation is skipped (since a set can only contain unique items anyway).
 Otherwise, the collection or array is checked for duplicate items.Only allowed for the following types: "array" .Applicable to the following Swagger schema objects: - Parameters:
- value- The new value for this property.
 Ignored if value is- null .
- Returns:
- This object.
 
- 
uiSynonym foruniqueItems(Boolean).- Parameters:
- value- The new value for this property.
- Returns:
- This object.
 
- 
uniqueItemsuniqueItems field.Same as uniqueItems(Boolean)but takes in a string boolean.- Parameters:
- value- The new value for this property.
 Ignored if value is- null or empty..
- Returns:
- This object.
 
- 
uiSynonym foruniqueItems(String).- Parameters:
- value- The new value for this property.
- Returns:
- This object.
 
- 
uniqueItemsuniqueItems field.Shortcut for calling uniqueItems(.true );- Returns:
- This object.
 
- 
uiSynonym foruniqueItems().- Returns:
- This object.
 
- 
skipIfEmptyskipIfEmpty field.Identifies whether an item should be skipped during serialization if it's empty. - Parameters:
- value- The new value for this property.
 Ignored if value is- null .
- Returns:
- This object.
 
- 
sieSynonym forskipIfEmpty(Boolean).- Parameters:
- value- The new value for this property.
- Returns:
- This object.
 
- 
skipIfEmptyskipIfEmpty field.Same as skipIfEmpty(Boolean)but takes in a string boolean.- Parameters:
- value- The new value for this property.
 Ignored if value is- null or empty.
- Returns:
- This object.
 
- 
sieSynonym forskipIfEmpty(String).- Parameters:
- value- The new value for this property.
- Returns:
- This object.
 
- 
skipIfEmptyIdentifies whether an item should be skipped if it's empty.Shortcut for calling skipIfEmpty(.true );- Returns:
- This object.
 
- 
sieSynonym forskipIfEmpty().- Returns:
- This object.
 
- 
_enumenum field.If specified, the input validates successfully if it is equal to one of the elements in this array. Applicable to the following Swagger schema objects: - Parameters:
- value- The new value for this property.
 Ignored if value is- null or an empty set.
- Returns:
- This object.
 
- 
eSynonym for_enum(Set).- Parameters:
- value- The new value for this property.
- Returns:
- This object.
 
- 
_enum_enum field.Same as _enum(Set)but takes in a var-args array.- Parameters:
- values- The new values for this property.
 Ignored if value is empty.
- Returns:
- This object.
 
- 
eSynonym for_enum(String...).- Parameters:
- values- The new values for this property.
- Returns:
- This object.
 
- 
multipleOfmultipleOf field.A numeric instance is valid if the result of the division of the instance by this keyword's value is an integer. Only allowed for the following types: "integer" ,"number" .Applicable to the following Swagger schema objects: - Parameters:
- value- The new value for this property.
 Ignored if value is- null .
- Returns:
- This object.
 
- 
moSynonym formultipleOf(Number).- Parameters:
- value- The new value for this property.
- Returns:
- This object.
 
- 
maxProperties- Parameters:
- value- The new value for this property.
 Ignored if value is- null or- -1 .
- Returns:
- This object.
 
- 
maxpSynonym formaxProperties(Long).- Parameters:
- value- The new value for this property.
- Returns:
- This object.
 
- 
maxPropertiesmapProperties field.Same as maxProperties(Long)but takes in a string number.- Parameters:
- value- The new value for this property.
 Ignored if value is- null or empty.
- Returns:
- This object.
 
- 
maxpSynonym formaxProperties(String).- Parameters:
- value- The new value for this property.
- Returns:
- This object.
 
- 
minProperties- Parameters:
- value- The new value for this property.
 Ignored if value is- null .
- Returns:
- This object.
 
- 
minpSynonym forminProperties(Long).- Parameters:
- value- The new value for this property.
- Returns:
- This object.
 
- 
minPropertiesminProperties field.Same as minProperties(Long)but takes in a string boolean.- Parameters:
- value- The new value for this property.
 Ignored if value is- null or empty.
- Returns:
- This object.
 
- 
minpSynonym forminProperties(String).- Parameters:
- value- The new value for this property.
- Returns:
- This object.
 
- 
property- Parameters:
- key- The property name.
- value- The new value for this property.
 Ignored if value is- null .
- Returns:
- This object.
 
- 
property- Parameters:
- key- The property name.
- value- The new value for this property.
 Ignored if value is- null .
- Returns:
- This object.
 
- 
p- Parameters:
- key- The property name.
- value- The new value for this property.
 Ignored if value is- null .
- Returns:
- This object.
 
- 
p- Parameters:
- key- The property name.
- value- The new value for this property.
 Ignored if value is- null .
- Returns:
- This object.
 
- 
additionalProperties- Parameters:
- value- The new value for this property.
 Ignored if value is- null or empty.
- Returns:
- This object.
 
- 
additionalProperties- Parameters:
- value- The new value for this property.
 Ignored if value is- null or empty.
- Returns:
- This object.
 
- 
ap- Parameters:
- value- The new value for this property.
 Ignored if value is- null or empty.
- Returns:
- This object.
 
- 
ap- Parameters:
- value- The new value for this property.
 Ignored if value is- null or empty.
- Returns:
- This object.
 
- 
serializerIdentifies the part serializer to use for serializing this part.- Parameters:
- value- The new value for this property.
 Ignored if value is- null or- HttpPartSerializer.Void.
- Returns:
- This object.
 
- 
parserIdentifies the part parser to use for parsing this part.- Parameters:
- value- The new value for this property.
 Ignored if value is- null or- HttpPartParser.Void.
- Returns:
- This object.
 
- 
noValidateDisables Swagger schema usage validation checking.- Parameters:
- value- Specify- true to prevent- ContextRuntimeExceptionfrom being thrown if invalid Swagger usage was detected.
- Returns:
- This object.
 
- 
noValidateDisables Swagger schema usage validation checking.Shortcut for calling noValidate(.true );- Returns:
- This object.
 
 
-