com.geotab.model.search.ReportTemplateSearch Maven / Gradle / Ivy
package com.geotab.model.search;
import com.geotab.model.entity.reporttemplate.ReportDataSource;
import com.geotab.model.entity.reporttemplate.ReportTemplate;
import lombok.Builder;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;
/**
* The object used to specify the arguments when searching for {@link ReportTemplate}(s).
*/
@Getter @Setter
@NoArgsConstructor
public class ReportTemplateSearch extends Search {
/**
* Include report Binary Data for this {@link ReportTemplate}.
*/
private Boolean includeBinaryData;
/**
* Search for a {@link ReportTemplate} with this {@link ReportDataSource}.
*/
private ReportDataSource reportDataSource;
@Builder
public ReportTemplateSearch(String id, Boolean includeBinaryData,
ReportDataSource reportDataSource) {
super(id);
this.includeBinaryData = includeBinaryData;
this.reportDataSource = reportDataSource;
}
}