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