/* Options: Date: 2025-06-27 22:22:56 Version: 8.81 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://uat-api-vehicle-mgt-mb-dhc.rapp-customers.co.uk //Package: //GlobalNamespace: dtos //AddPropertyAccessors: True //SettersReturnThis: True //AddServiceStackTypes: True //AddResponseStatus: False //AddDescriptionAsComments: True //AddImplicitVersion: IncludeTypes: DashboardCsvReportsRequest.* //ExcludeTypes: //TreatTypesAsStrings: //DefaultImports: java.math.*,java.util.*,java.io.InputStream,net.servicestack.client.* */ import java.math.*; import java.util.*; import java.io.InputStream; import net.servicestack.client.*; public class dtos { @Route(Path="/v1/reports/Csv", Verbs="POST") public static class DashboardCsvReportsRequest implements IReturn, IPost { /** * Report Name */ @ApiMember(Description="Report Name", IsRequired=true, ParameterType="body") public String reportName = null; /** * Filters */ @ApiMember(Description="Filters", IsRequired=true, ParameterType="body") public HashMap filters = new HashMap(); public String getReportName() { return reportName; } public DashboardCsvReportsRequest setReportName(String value) { this.reportName = value; return this; } public HashMap getFilters() { return filters; } public DashboardCsvReportsRequest setFilters(HashMap value) { this.filters = value; return this; } private static Object responseType = DashboardReportResult.class; public Object getResponseType() { return responseType; } } public static class DashboardReportResult { public Integer totalCount = null; public ArrayList reportResult = null; public Integer getTotalCount() { return totalCount; } public DashboardReportResult setTotalCount(Integer value) { this.totalCount = value; return this; } public ArrayList getReportResult() { return reportResult; } public DashboardReportResult setReportResult(ArrayList value) { this.reportResult = value; return this; } } public static class ReportFilter { public ReportFilterType type = null; public ArrayList values = null; public Date start = null; public Date end = null; public Integer higherThan = null; public Integer lowerThan = null; public ReportFilterType getType() { return type; } public ReportFilter setType(ReportFilterType value) { this.type = value; return this; } public ArrayList getValues() { return values; } public ReportFilter setValues(ArrayList value) { this.values = value; return this; } public Date getStart() { return start; } public ReportFilter setStart(Date value) { this.start = value; return this; } public Date getEnd() { return end; } public ReportFilter setEnd(Date value) { this.end = value; return this; } public Integer getHigherThan() { return higherThan; } public ReportFilter setHigherThan(Integer value) { this.higherThan = value; return this; } public Integer getLowerThan() { return lowerThan; } public ReportFilter setLowerThan(Integer value) { this.lowerThan = value; return this; } } public static enum ReportFilterType { List, ListLike, Date, Range; } }