package com.axibase.tsd.model.data.filters;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonProperty;
import java.util.Date;
import java.util.Map;
/**
* @author Igor Shmagrinskiy
*/
@JsonIgnoreProperties(ignoreUnknown = true)
@JsonInclude(JsonInclude.Include.NON_NULL)
public class DeletePropertyFilter {
private boolean exactMatch;
private Map<String, String> key;
private Date startDate;
private Date endDate;
@JsonProperty("type")
private String typeName;
@JsonProperty("entity")
private String entityName;
public DeletePropertyFilter(String typeName, String entityName) {
setTypeName(typeName);
setEntityName(entityName);
}
public String getTypeName() {
return typeName;
}
public void setTypeName(String typeName) {
this.typeName = typeName;
}
public String getEntityName() {
return entityName;
}
public void setEntityName(String entityName) {
this.entityName = entityName;
}
public Date getStartDate() {
return startDate;
}
public void setStartDate(Date startDate) {
this.startDate = startDate;
}
public Date getEndDate() {
return endDate;
}
public void setEndDate(Date endDate) {
this.endDate = endDate;
}
public Map<String, String> getKey() {
return key;
}
public void setKey(Map<String, String> key) {
this.key = key;
}
public boolean isExactMatch() {
return exactMatch;
}
public void setExactMatch(boolean exactMatch) {
this.exactMatch = exactMatch;
}
}