com.greenback.kit.model.SyncRequest Maven / Gradle / Ivy
package com.greenback.kit.model;
import java.time.Instant;
import java.util.List;
import java.util.Map;
public class SyncRequest {
private Instant from;
private Instant to;
private Integer limit;
private Boolean reuseProfile;
private Map attributes;
private List includeIds;
private List excludeIds;
// read only
private Instant initial;
// for previewing what the sync would do
private Boolean preview;
public Instant getFrom() {
return from;
}
public SyncRequest setFrom(Instant from) {
this.from = from;
return this;
}
public Instant getTo() {
return to;
}
public SyncRequest setTo(Instant to) {
this.to = to;
return this;
}
public Integer getLimit() {
return limit;
}
public SyncRequest setLimit(Integer limit) {
this.limit = limit;
return this;
}
public Boolean getReuseProfile() {
return reuseProfile;
}
public SyncRequest setReuseProfile(Boolean reuseProfile) {
this.reuseProfile = reuseProfile;
return this;
}
public Map getAttributes() {
return attributes;
}
public SyncRequest setAttributes(Map attributes) {
this.attributes = attributes;
return this;
}
public List getIncludeIds() {
return includeIds;
}
public void setIncludeIds(List includeIds) {
this.includeIds = includeIds;
}
public List getExcludeIds() {
return excludeIds;
}
public void setExcludeIds(List excludeIds) {
this.excludeIds = excludeIds;
}
public Instant getInitial() {
return initial;
}
public void setInitial(Instant initial) {
this.initial = initial;
}
public Boolean getPreview() {
return preview;
}
public SyncRequest setPreview(Boolean preview) {
this.preview = preview;
return this;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy