vz-api
1.0.0
core
/
com.keygenqt.core.validators
/
NotBlank
Not
Blank
@
Target
(
allowedTargets
=
[
AnnotationTarget.FIELD
]
)
@
Constraint
(
validatedBy
=
[
NotBlankValidator::class
]
)
annotation class
NotBlank
(
val
message
:
String
=
"Must not be blank"
,
val
groups
:
Array
<
KClass
<
*
>
>
=
[]
,
val
payload
:
Array
<
KClass
<
out
Payload
>
>
=
[]
)
Content copied to clipboard
Constructors
Properties
Constructors
Not
Blank
Link copied to clipboard
fun
NotBlank
(
message
:
String
=
"Must not be blank"
,
groups
:
Array
<
KClass
<
*
>
>
=
[]
,
payload
:
Array
<
KClass
<
out
Payload
>
>
=
[]
)
Content copied to clipboard
Properties
groups
Link copied to clipboard
val
groups
:
Array
<
KClass
<
*
>
>
Content copied to clipboard
message
Link copied to clipboard
val
message
:
String
Content copied to clipboard
payload
Link copied to clipboard
val
payload
:
Array
<
KClass
<
out
Payload
>
>
Content copied to clipboard