public static final class ClientServerGenerator.Constraints extends Object
| Modifier and Type | Field and Description |
|---|---|
Optional<BigDecimal> |
max |
Optional<BigDecimal> |
maxExclusive |
Optional<Integer> |
maxItems |
Optional<Integer> |
maxLength |
Optional<BigDecimal> |
min |
Optional<BigDecimal> |
minExclusive |
Optional<Integer> |
minItems |
Optional<Integer> |
minLength |
Optional<String> |
pattern |
| Constructor and Description |
|---|
Constraints(Optional<Integer> minLength,
Optional<Integer> maxLength,
Optional<BigDecimal> min,
Optional<BigDecimal> max,
Optional<BigDecimal> minExclusive,
Optional<BigDecimal> maxExclusive,
Optional<Integer> minItems,
Optional<Integer> maxItems,
Optional<String> pattern) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
atLeastOnePresent() |
static ClientServerGenerator.Constraints |
empty() |
public final Optional<BigDecimal> min
public final Optional<BigDecimal> max
public final Optional<BigDecimal> minExclusive
public final Optional<BigDecimal> maxExclusive
public Constraints(Optional<Integer> minLength, Optional<Integer> maxLength, Optional<BigDecimal> min, Optional<BigDecimal> max, Optional<BigDecimal> minExclusive, Optional<BigDecimal> maxExclusive, Optional<Integer> minItems, Optional<Integer> maxItems, Optional<String> pattern)
public static ClientServerGenerator.Constraints empty()
public boolean atLeastOnePresent()
Copyright © 2023. All rights reserved.