use of com.linkedin.restli.common.validation.RestLiDataValidator in project parseq by linkedin.
the class ComplexKeysBatchPartialUpdateBuilder method validateInput.
public static ValidationResult validateInput(PatchRequest<Message> patch) {
Map<String, List<String>> annotations = new HashMap<String, List<String>>();
RestLiDataValidator validator = new RestLiDataValidator(annotations, Message.class, ResourceMethod.BATCH_PARTIAL_UPDATE);
return validator.validateInput(patch);
}
use of com.linkedin.restli.common.validation.RestLiDataValidator in project parseq by linkedin.
the class ComplexKeysBatchPartialUpdateRequestBuilder method validateInput.
public static ValidationResult validateInput(PatchRequest<Message> patch) {
Map<String, List<String>> annotations = new HashMap<String, List<String>>();
RestLiDataValidator validator = new RestLiDataValidator(annotations, Message.class, ResourceMethod.BATCH_PARTIAL_UPDATE);
return validator.validateInput(patch);
}
use of com.linkedin.restli.common.validation.RestLiDataValidator in project parseq by linkedin.
the class ComplexKeysBatchUpdateBuilder method validateInput.
public static ValidationResult validateInput(Message input) {
Map<String, List<String>> annotations = new HashMap<String, List<String>>();
RestLiDataValidator validator = new RestLiDataValidator(annotations, Message.class, ResourceMethod.BATCH_UPDATE);
return validator.validateInput(input);
}
use of com.linkedin.restli.common.validation.RestLiDataValidator in project parseq by linkedin.
the class ComplexKeysCreateBuilder method validateInput.
public static ValidationResult validateInput(Message input) {
Map<String, List<String>> annotations = new HashMap<String, List<String>>();
RestLiDataValidator validator = new RestLiDataValidator(annotations, Message.class, ResourceMethod.CREATE);
return validator.validateInput(input);
}
use of com.linkedin.restli.common.validation.RestLiDataValidator in project parseq by linkedin.
the class ComplexKeysPartialUpdateRequestBuilder method validateInput.
public static ValidationResult validateInput(PatchRequest<Message> patch) {
Map<String, List<String>> annotations = new HashMap<String, List<String>>();
RestLiDataValidator validator = new RestLiDataValidator(annotations, Message.class, ResourceMethod.PARTIAL_UPDATE);
return validator.validateInput(patch);
}
Aggregations