@Generated(value="io.swagger.codegen.languages.JavaClientCodegen", date="2020-04-02T16:15:50.378+02:00") public class ValidationRule extends Object implements Serializable
Constructor and Description |
---|
ValidationRule() |
Modifier and Type | Method and Description |
---|---|
ValidationRule |
active(Boolean active) |
ValidationRule |
addOptionsItem(Parameter optionsItem) |
boolean |
equals(Object o) |
String |
getMessage()
The error message displayed when the rule isn't fulfilled.
|
String |
getMessageKey()
The message key for this rule
|
List<Parameter> |
getOptions()
An array defining the custom parameters for this rule.
|
String |
getType()
The type of the rule.
|
int |
hashCode() |
Boolean |
isActive()
Whether or not this rule is active, meaning it should be applied.
|
ValidationRule |
message(String message) |
ValidationRule |
messageKey(String messageKey) |
ValidationRule |
options(List<Parameter> options) |
void |
setActive(Boolean active) |
void |
setMessage(String message) |
void |
setMessageKey(String messageKey) |
void |
setOptions(List<Parameter> options) |
void |
setType(String type) |
String |
toString() |
ValidationRule |
type(String type) |
public ValidationRule type(String type)
public String getType()
public void setType(String type)
public ValidationRule message(String message)
public String getMessage()
public void setMessage(String message)
public ValidationRule active(Boolean active)
public Boolean isActive()
public void setActive(Boolean active)
public ValidationRule messageKey(String messageKey)
public String getMessageKey()
public void setMessageKey(String messageKey)
public ValidationRule options(List<Parameter> options)
public ValidationRule addOptionsItem(Parameter optionsItem)
public List<Parameter> getOptions()
Copyright © 2011–2020 aiticon GmbH. All rights reserved.