Class Constraints
java.lang.Object
com.github.muehmar.gradle.openapi.generator.model.constraints.Constraints
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionand(Constraints other) static Constraintsempty()getEmail()getMax()getMin()getSize()static ConstraintsofDecimalMax(DecimalMax decimalMax) static ConstraintsofDecimalMin(DecimalMin decimalMin) static ConstraintsofDecimalMinAndMax(DecimalMin decimalMin, DecimalMax decimalMax) static ConstraintsofEmail()static Constraintsstatic Constraintsstatic ConstraintsofMinAndMax(Min min, Max max) static ConstraintsofMultipleOf(MultipleOf multipleOf) static Constraintsstatic ConstraintsofPropertiesCount(PropertyCount propertyCount) static Constraintsstatic ConstraintsofUniqueItems(boolean uniqueItems) <R> Optional<R>onDecimalMaxFn(Function<DecimalMax, R> onDecimalMax) <R> Optional<R>onDecimalMinFn(Function<DecimalMin, R> onDecimalMin) <R> Optional<R><R> Optional<R><R> Optional<R>onPatternFn(Function<Pattern, R> onPattern) <R> Optional<R>withDecimalMax(DecimalMax decimalMax) withDecimalMin(DecimalMin decimalMin) withMultipleOf(MultipleOf multipleOf) withPattern(Pattern pattern) withPropertyCount(PropertyCount propertyCount)
-
Constructor Details
-
Constraints
public Constraints()
-
-
Method Details
-
empty
-
ofMin
-
ofMax
-
ofMinAndMax
-
ofSize
-
ofPattern
-
ofEmail
-
ofDecimalMin
-
ofDecimalMax
-
ofDecimalMinAndMax
-
ofPropertiesCount
-
ofMultipleOf
-
ofUniqueItems
-
withMin
-
withMax
-
withSize
-
withPattern
-
withEmail
-
withDecimalMin
-
withDecimalMax
-
withPropertyCount
-
withMultipleOf
-
and
-
getMin
-
getMax
-
getDecimalMin
-
getDecimalMax
-
getSize
-
getPattern
-
getEmail
-
onMinFn
-
onMaxFn
-
onDecimalMinFn
-
onDecimalMaxFn
-
onSizeFn
-
onPatternFn
-