com.foilen.infra.api.model.audit.AuditItemWithPagination Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of foilen-infra-api Show documentation
Show all versions of foilen-infra-api Show documentation
This is the infra service API
The newest version!
/*
Foilen Infra API
https://github.com/foilen/foilen-infra-api
Copyright (c) 2017-2021 Foilen (https://foilen.com)
The MIT License
http://opensource.org/licenses/MIT
*/
package com.foilen.infra.api.model.audit;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import com.foilen.smalltools.restapi.model.AbstractListResultWithPagination;
public class AuditItemWithPagination extends AbstractListResultWithPagination {
private Map> validationErrorsByField = new HashMap<>();
public Map> getValidationErrorsByField() {
return validationErrorsByField;
}
@Override
public boolean isSuccess() {
return validationErrorsByField.isEmpty() && super.isSuccess();
}
public AuditItemWithPagination setValidationErrorsByField(Map> validationErrorsByField) {
this.validationErrorsByField = validationErrorsByField;
return this;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy