use of com.linkedin.restli.common.validation.RestLiDataValidator in project parseq by linkedin.
the class GreetingsPromiseCtxPartialUpdateBuilder method validateInput.
public static ValidationResult validateInput(PatchRequest<Greeting> patch) {
Map<String, List<String>> annotations = new HashMap<String, List<String>>();
RestLiDataValidator validator = new RestLiDataValidator(annotations, Greeting.class, ResourceMethod.PARTIAL_UPDATE);
return validator.validateInput(patch);
}
use of com.linkedin.restli.common.validation.RestLiDataValidator in project parseq by linkedin.
the class GreetingsPromiseCtxPartialUpdateRequestBuilder method validateInput.
public static ValidationResult validateInput(PatchRequest<Greeting> patch) {
Map<String, List<String>> annotations = new HashMap<String, List<String>>();
RestLiDataValidator validator = new RestLiDataValidator(annotations, Greeting.class, ResourceMethod.PARTIAL_UPDATE);
return validator.validateInput(patch);
}
use of com.linkedin.restli.common.validation.RestLiDataValidator in project parseq by linkedin.
the class GreetingsPromiseCtxUpdateBuilder 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.UPDATE);
return validator.validateInput(input);
}
use of com.linkedin.restli.common.validation.RestLiDataValidator in project parseq by linkedin.
the class GreetingsAuthPartialUpdateRequestBuilder method validateInput.
public static ValidationResult validateInput(PatchRequest<Greeting> patch) {
Map<java.lang.String, List<java.lang.String>> annotations = new HashMap<java.lang.String, List<java.lang.String>>();
RestLiDataValidator validator = new RestLiDataValidator(annotations, Greeting.class, ResourceMethod.PARTIAL_UPDATE);
return validator.validateInput(patch);
}
use of com.linkedin.restli.common.validation.RestLiDataValidator in project parseq by linkedin.
the class GreetingsAuthUpdateRequestBuilder method validateInput.
public static ValidationResult validateInput(Greeting input) {
Map<java.lang.String, List<java.lang.String>> annotations = new HashMap<java.lang.String, List<java.lang.String>>();
RestLiDataValidator validator = new RestLiDataValidator(annotations, Greeting.class, ResourceMethod.UPDATE);
return validator.validateInput(input);
}
Aggregations