com.capitalone.dashboard.request.PipelineSearchRequest Maven / Gradle / Ivy
package com.capitalone.dashboard.request;
import com.capitalone.dashboard.model.CollectorItem;
import org.bson.types.ObjectId;
import org.hibernate.validator.constraints.NotEmpty;
import java.util.List;
public class PipelineSearchRequest {
/** {@link CollectorItem} teamdashboard collector item id */
@NotEmpty
private List collectorItemId;
/** Dates to filter prod bucket's commits by **/
private Long beginDate;
private Long endDate;
public List getCollectorItemId() {
return collectorItemId;
}
public void setCollectorItemId(List collectorItemId) {
this.collectorItemId = collectorItemId;
}
public Long getBeginDate() {
return beginDate;
}
public void setBeginDate(Long beginDate) {
this.beginDate = beginDate;
}
public Long getEndDate() {
return endDate;
}
public void setEndDate(Long endDate) {
this.endDate = endDate;
}
public boolean hasDateRange() {
return beginDate != null && endDate != null;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy