There is a Keyboard class:
Java
public class Keyboard {
@Min(10)
@Max(20)
private int {1};
@Size(min = 10, max = 20)
private String {2};
@NotNull
private String {3};
@Email
private String {4};
// getters and setters
}
Kotlin
class Keyboard(
@Min(10)
@Max(20)
var {1}: Int,
@Size(min = 10, max = 20)
var {2}: String,
@NotNull
var {3}: String?,
@Email
var {4}: String
)
Match the missed Keyboard fields and the corresponding constraints if:
seriesTitlemust be not nullmanufacturerEmailshould be validnumberOfNumericButtonscan be between 10 and 20seriesNumbercan contain from 10 to 20 symbols