use of com.linkedin.restli.common.validation.RestLiDataValidator in project parseq by linkedin.
the class CreateGreetingBatchCreateAndGetRequestBuilder method validateInput.
public static ValidationResult validateInput(Greeting input) {
Map<String, List<String>> annotations = new HashMap<String, List<String>>();
RestLiDataValidator validator = new RestLiDataValidator(annotations, Greeting.class, ResourceMethod.BATCH_CREATE);
return validator.validateInput(input);
}
use of com.linkedin.restli.common.validation.RestLiDataValidator in project parseq by linkedin.
the class CreateGreetingBatchCreateRequestBuilder method validateInput.
public static ValidationResult validateInput(Greeting input) {
Map<String, List<String>> annotations = new HashMap<String, List<String>>();
RestLiDataValidator validator = new RestLiDataValidator(annotations, Greeting.class, ResourceMethod.BATCH_CREATE);
return validator.validateInput(input);
}
use of com.linkedin.restli.common.validation.RestLiDataValidator in project parseq by linkedin.
the class CreateGreetingCreateAndGetBuilder method validateInput.
public static ValidationResult validateInput(Greeting input) {
Map<String, List<String>> annotations = new HashMap<String, List<String>>();
RestLiDataValidator validator = new RestLiDataValidator(annotations, Greeting.class, ResourceMethod.CREATE);
return validator.validateInput(input);
}
use of com.linkedin.restli.common.validation.RestLiDataValidator in project parseq by linkedin.
the class CreateGreetingCreateAndGetRequestBuilder method validateInput.
public static ValidationResult validateInput(Greeting input) {
Map<String, List<String>> annotations = new HashMap<String, List<String>>();
RestLiDataValidator validator = new RestLiDataValidator(annotations, Greeting.class, ResourceMethod.CREATE);
return validator.validateInput(input);
}
use of com.linkedin.restli.common.validation.RestLiDataValidator in project parseq by linkedin.
the class CreateGreetingCreateBuilder method validateInput.
public static ValidationResult validateInput(Greeting input) {
Map<String, List<String>> annotations = new HashMap<String, List<String>>();
RestLiDataValidator validator = new RestLiDataValidator(annotations, Greeting.class, ResourceMethod.CREATE);
return validator.validateInput(input);
}
Aggregations